Defines a decoration that converts one type into another
Default constructor
public Void ConvertColumn()
Initializes a new instance of ConvertColumn.
public Void ConvertColumn(field, returnType)
Name | Type | Summary |
---|---|---|
field | Field | Field configuration. |
returnType | DbType | Type to convert the column to. |
Type | Summary |
---|---|
ArgumentNullException | Thrown when field is null. |
Initializes a new instance of ConvertColumn.
public Void ConvertColumn(field, returnType, returnLength)
Name | Type | Summary |
---|---|---|
field | Field | Field configuration. |
returnType | DbType | Type to convert the column to. |
returnLength | Int32 | Length to convert text columns. |
Type | Summary |
---|---|
ArgumentNullException | Thrown when field is null. |
Initializes a new instance of ConvertColumn.
public Void ConvertColumn(field, repository, returnType)
Name | Type | Summary |
---|---|---|
field | Field | Field configuration. |
repository | Repository | Repository to which the column belongs to. |
returnType | DbType | Type to convert the column into. |
Type | Summary |
---|---|
ArgumentNullException | Thrown when field is null. |
Initializes a new instance of ConvertColumn.
public Void ConvertColumn(field, repository, returnType, returnLength)
Name | Type | Summary |
---|---|---|
field | Field | Field configuration. |
repository | Repository | Repository to which the column belongs to. |
returnType | DbType | Type to convert the column into. |
returnLength | Int32 | Length to convert text columns. |
Type | Summary |
---|---|
ArgumentNullException | Thrown when field is null. |
Initializes a new intance of ConvertColumn.
public Void ConvertColumn(fieldName, returnType)
Name | Type | Summary |
---|---|---|
fieldName | String | Column name. |
returnType | DbType | Type to convert the column into. |
Initializes a new intance of ConvertColumn.
public Void ConvertColumn(fieldName, returnType, returnLength)
Name | Type | Summary |
---|---|---|
fieldName | String | Column name. |
returnType | DbType | Type to convert the column into. |
returnLength | Int32 | Length to convert text columns. |
Initializes a new intance of ConvertColumn.
public Void ConvertColumn(name, fieldName, repository, returnType)
Name | Type | Summary |
---|---|---|
name | String | Column name (alias). |
fieldName | String | Column name. |
repository | Repository | Repository to which the column belongs to. |
returnType | DbType | Type to convert the column into. |
Initializes a new intance of ConvertColumn.
public Void ConvertColumn(name, fieldName, repository, returnType, returnLength)
Name | Type | Summary |
---|---|---|
name | String | Column name (alias). |
fieldName | String | Column name. |
repository | Repository | Repository to which the column belongs to. |
returnType | DbType | Type to convert the column into. |
returnLength | Int32 | Length to convert text columns. |
The length required for the returned type.
public Int32 ReturnLength { get; set; }
Used to convert to varchar types.
In this document