Click or drag to resize
IUserDataSourceCheckStringIsUnique Method
Check if a translation string is unique for this object/property and locale.

Namespace: ArtDatabanken.Data.DataSource
Assembly: 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
)

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: Boolean
Boolean - 'true' if string value is unique - 'false' if string value already in database
See Also