TextDataProperty implements a data property attribute for a text data property.
Creates a new instance of TextDataProperty.
public Void TextDataProperty(name, type)
Name | Type | Summary |
---|---|---|
name | String | The name of the property. |
type | DbType | The type of the property. |
Gets or sets a list of character that are invalid for this property.
public Char[] InvalidChars { get; set; }
Gets or sets the maximum length of the text property.
public Int32 MaxLength { get; set; }
Gets or sets the minimum length of the text property.
public Int32 MinLength { get; set; }
Validates the specified value to see if it is a valid value for the property.
public Void Validate(value, action)
Throwns validation exceptions if the value is not valid.
Name | Type | Summary |
---|---|---|
value | Object | The value to validate. |
action | DataAction | The current action that is performing. |
In this document