PrimaryKeyTextDataProperty implements a data property attribute for a text data property that validates as a primary key.
Creates a new instance of TextDataProperty.
public Void PrimaryKeyTextDataProperty(name, type)
Name | Type | Summary |
---|---|---|
name | String | The name of the property. |
type | DbType | The type of the property. |
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