Interface IColumnDescriptor
Provides an interface to describe a database column.
Namespace: Paradigm.ORM.Data.Descriptors
Assembly: Paradigm.ORM.Data.dll
Syntax
public interface IColumnDescriptor
Properties
| Improve this Doc View SourceColumnName
Gets the name of the column.
Declaration
string ColumnName { get; }
Property Value
Type | Description |
---|---|
System.String |
DataType
Gets the type of the data.
Declaration
string DataType { get; }
Property Value
Type | Description |
---|---|
System.String |
IsForeignKey
Indicates if the column is part of a foreign key.
Declaration
bool IsForeignKey { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsIdentity
Indicates if the column is an identity.
Declaration
bool IsIdentity { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsPrimaryKey
Indicates if the column is part of a primary key.
Declaration
bool IsPrimaryKey { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsUniqueKey
Indicates if the column is part of a unique key.
Declaration
bool IsUniqueKey { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
MaxSize
Gets the maximum size.
Declaration
long MaxSize { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Precision
Gets the numeric precision.
Declaration
byte Precision { get; }
Property Value
Type | Description |
---|---|
System.Byte |
Scale
Gets the numeric scale.
Declaration
byte Scale { get; }
Property Value
Type | Description |
---|---|
System.Byte |