메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
HasMaxDataLength ( object value, int precision, int scale ) : bool |
public IsValid ( |
||
propertyToValidate | The supplied property. | |
value | object | The supplied value. |
리턴 | ValidationResult |
public MaxDataLengthAttribute ( int precision, int scale ) : System | ||
precision | int | The supplied precision. |
scale | int | The supplied scale. |
리턴 | System |