The Field type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Field | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| AsIdentityColumn |
Specifies that the column should be an identity (autoincrement) column.
| |
| WithSize |
Sets the column size (for string or blob columns).
| |
| WithUnique |
Sets whether the field has a unique constraint.
|
Properties
| Name | Description | |
|---|---|---|
| AllowNulls |
Gets whether the field allows database nulls.
| |
| DataType |
Gets the field data type.
| |
| DbDataTypeNameOverride |
Gets the native database type name, if one was specified.
| |
| FieldOptions |
Gets or sets field definition options.
| |
| Name |
Gets the field name.
| |
| Size |
Gets or sets the column size (for string or blob columns). If no column
size is specified, the column is defaulted to maximum size.
| |
| Unique |
Gets or sets whether to apply a uniqueness constraint to the column.
|