PrimaryKeyTextDataProperty

PrimaryKeyTextDataProperty implements a data property attribute for a text data property that validates as a primary key.

Namespace:
Inetdev.Data
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
Inetdev.Data.TextDataProperty

Constructors

PrimaryKeyTextDataProperty

Creates a new instance of TextDataProperty.

Signature:
public Void PrimaryKeyTextDataProperty(name, type)
Parameters
Name Type Summary
name String The name of the property.
type DbType The type of the property.

Methods

Validate

Validates the specified value to see if it is a valid value for the property.

Signature:
public Void Validate(value, action)
Remarks

Throwns validation exceptions if the value is not valid.

Parameters
Name Type Summary
value Object The value to validate.
action DataAction The current action that is performing.

In this document