Constructs base where condition for checking column value uniqueness. This method can be overriden in child classes to add more conditions.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- columnName
- Type: System String
Name of the column in which the uniqueness should be preserved (CodeNameColumn/DisplayNameColumn)
- searchName
- Type: System String
Name which should be saved in the column (evenutally with suffix)
- currentObjectId
- Type: System Int32
ID of the current object (this object will be excluded from the search for duplicate names)
- exactMatch
- Type: System Boolean
If true, the names must match exactly
Return Value
Type: WhereConditionWhere condition used to check for name uniqueness
See Also