Method | Description | |
---|---|---|
ApplyBrowserValidation ( |
Applies the browser validation by setting up one or more input rules on IBrowserValidationGenerator.
|
|
IsUniqueValidator ( ) : System |
Initializes a new instance of the IsUniqueValidator class.
|
|
IsValid ( object instance, object fieldValue ) : bool |
Perform the check that the property value is unqiue in the table
|
Method | Description | |
---|---|---|
BuildErrorMessage ( ) : string |
Builds the error message when the property value is not unique
|
Method | Description | |
---|---|---|
CheckUniqueness ( ISession session, object instance ) : object |
public ApplyBrowserValidation ( |
||
config | The config. | |
inputType | InputElementType | Type of the input. |
generator | IBrowserValidationGenerator | The generator. |
attributes | IDictionary | The attributes. |
target | string | The target. |
return | void |
public IsValid ( object instance, object fieldValue ) : bool | ||
instance | object | |
fieldValue | object | |
return | bool |