 | ICommenceCursorHasDuplicates Method |
Checks if field contains duplicate values.
Namespace:
Vovin.CmcLibNet.Database
Assembly:
Vovin.CmcLibNet (in Vovin.CmcLibNet.dll) Version: 1.0.7729.42686
Syntaxbool HasDuplicates(
string columnName,
bool caseSensitive = true
)
Function HasDuplicates (
columnName As String,
Optional caseSensitive As Boolean = true
) As Boolean
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:
Booleantrue if duplicates are found.
Exceptions
See Also