AbstractInfoProviderTInfo, TProvider, TQueryCheckUniqueValues Method |
Checks if a record with the same column values already exists in the database. Returns true if the set of values is unique.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax public virtual bool CheckUniqueValues(
TInfo infoObj,
params string[] columns
)
Parameters
- infoObj
- Type: TInfo
Info object to check - columns
- Type: SystemString
Columns to check
Return Value
Type:
BooleanSee Also