Method | Description | |
---|---|---|
IsValid ( |
Determines whether the specified value is valid for the supplied property.
|
|
MaxDataLengthAttribute ( int precision, int scale ) : System |
Creates a new MaxLengthAttribute instance with the supplied data length.
|
Method | Description | |
---|---|---|
HasMaxDataLength ( object value, int precision, int scale ) : bool |
public IsValid ( |
||
propertyToValidate | The supplied property. | |
value | object | The supplied value. |
return | ValidationResult |
public MaxDataLengthAttribute ( int precision, int scale ) : System | ||
precision | int | The supplied precision. |
scale | int | The supplied scale. |
return | System |