IUserDataSourceCheckStringIsUnique Method |
Check if a translation string is unique for this object/property and locale.
Namespace: ArtDatabanken.Data.DataSourceAssembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax bool CheckStringIsUnique(
IUserContext userContext,
string value,
string objectName,
string propertyName
)
Function CheckStringIsUnique (
userContext As IUserContext,
value As String,
objectName As String,
propertyName As String
) As Boolean
bool CheckStringIsUnique(
IUserContext^ userContext,
String^ value,
String^ objectName,
String^ propertyName
)
abstract CheckStringIsUnique :
userContext : IUserContext *
value : string *
objectName : string *
propertyName : string -> bool
Parameters
- userContext
- Type: ArtDatabanken.DataIUserContext
User context. - value
- Type: SystemString
String value to check. - objectName
- Type: SystemString
Name of object this string belongs to - propertyName
- Type: SystemString
Name of property
Return Value
Type:
BooleanBoolean - 'true' if string value is unique
- 'false' if string value already in database
See Also