FieldInfo class
namespace: Serenity.Data.Schema assembly: Serenity.Net.Data
Meta data information for an SQL column
public class FieldInfo
Public Members
| name | description |
|---|---|
| FieldInfo() | The default constructor. |
| DataType { get; set; } | Gets or sets the type of the data. |
| FieldName { get; set; } | Gets or sets the name of the field. |
| IsIdentity { get; set; } | Gets or sets a value indicating whether the field is an identity column. |
| IsNullable { get; set; } | Gets or sets a value indicating whether the field is nullable. |
| IsPrimaryKey { get; set; } | Gets or sets a value indicating whether the field is primary key. |
| PKColumn { get; set; } | Gets or sets the primary key column. |
| PKSchema { get; set; } | Gets or sets the primary key schema. |
| PKTable { get; set; } | Gets or sets the primary key table. |
| Scale { get; set; } | Gets or sets the numeric scale. |
| Size { get; set; } | Gets or sets the size (max length or numeric precision). |
See Also
- Source: FieldInfo.cs