Home

Castle Stronghold

ValidateIsUniqueAttribute API Document

Validate that the property's value is unique in the database when saved

Constructors

ValidateIsUniqueAttribute()

Initializes a new instance of the Castle.ActiveRecord.ValidateIsUniqueAttribute class.

ValidateIsUniqueAttribute(String errorMessage)

Initializes a new instance of the Castle.ActiveRecord.ValidateIsUniqueAttribute class.

ParameterDescription
errorMessage The error message.

Properties

NameTypeDescription
ValidatorIValidator Gets the validator for this attribute. Each attribute that inherits from this class will have its own validtor.

Google
Search WWW Search castleproject.org