Click or drag to resize

CommenceDatabaseHasDuplicates Method

Checks if field contains duplicate values.

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

Parameters

categoryName
Type: SystemString
Categoryname.
fieldName
Type: SystemString
Fieldname.
caseSensitive (Optional)
Type: SystemBoolean
Perform case-sensitive check, default is true.

Return Value

Type: Boolean
true if duplicates are found.

Implements

ICommenceDatabaseHasDuplicates(String, String, Boolean)
Remarks
Commence allows for filtering on duplicate Name field values only, this method allows for checking other fieldtypes as well.
See Also