Click or drag to resize

ICommenceCursorHasDuplicates Method

Checks if field contains duplicate values.

Namespace:  Vovin.CmcLibNet.Database
Assembly:  Vovin.CmcLibNet (in Vovin.CmcLibNet.dll) Version: 1.0.7729.42686
Syntax
bool HasDuplicates(
	string columnName,
	bool caseSensitive = true
)

Parameters

columnName
Type: SystemString
Columname in cursor to compare. Column must exist in the cursor.
caseSensitive (Optional)
Type: SystemBoolean
Perform case-sensitive check, default is true.

Return Value

Type: Boolean
true if duplicates are found.
Exceptions
ExceptionCondition
CommenceCOMExceptionColumn not present in cursor.
See Also