Class ColumnDataType
Implements
Inherited Members
Namespace: FluentMigrator.Model
Assembly: FluentMigrator.Abstractions.dll
Syntax
public class ColumnDataType : IColumnDataType
Properties
CollationName
Gets or sets the collation name if the column has a string or ansi string type
Declaration
public string CollationName { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomType
Gets or sets a database specific custom column type
Declaration
public string CustomType { get; set; }
Property Value
Type | Description |
---|---|
string |
Precision
Gets or sets the column type precision (read: scale)
Declaration
public int? Precision { get; set; }
Property Value
Type | Description |
---|---|
int? |
Size
Gets or sets the column type size (read: precision or length)
Declaration
public int? Size { get; set; }
Property Value
Type | Description |
---|---|
int? |
Type
Gets or sets the column type
Declaration
public DbType? Type { get; set; }
Property Value
Type | Description |
---|---|
DbType? |