ColumnMetadata Constructor |
Namespace:
Aloe.SystemFrameworks.Domain.DataAccess
Assembly:
Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntaxpublic ColumnMetadata(
string columnName,
Type dataType,
int maxLength = 0,
bool allowNulls = false,
int orderInPrimaryKey = 0,
int orderInNaturalKey = 0,
bool isOwnershipReference = false
)
Public Sub New (
columnName As String,
dataType As Type,
Optional maxLength As Integer = 0,
Optional allowNulls As Boolean = false,
Optional orderInPrimaryKey As Integer = 0,
Optional orderInNaturalKey As Integer = 0,
Optional isOwnershipReference As Boolean = false
)
public:
ColumnMetadata(
String^ columnName,
Type^ dataType,
int maxLength = 0,
bool allowNulls = false,
int orderInPrimaryKey = 0,
int orderInNaturalKey = 0,
bool isOwnershipReference = false
)
new :
columnName : string *
dataType : Type *
?maxLength : int *
?allowNulls : bool *
?orderInPrimaryKey : int *
?orderInNaturalKey : int *
?isOwnershipReference : bool
(* Defaults:
let _maxLength = defaultArg maxLength 0
let _allowNulls = defaultArg allowNulls false
let _orderInPrimaryKey = defaultArg orderInPrimaryKey 0
let _orderInNaturalKey = defaultArg orderInNaturalKey 0
let _isOwnershipReference = defaultArg isOwnershipReference false
*)
-> ColumnMetadata
Parameters
- columnName
- Type: SystemString
Name of the column. - dataType
- Type: SystemType
Type of the data. - maxLength (Optional)
- Type: SystemInt32
The maximum length. - allowNulls (Optional)
- Type: SystemBoolean
if set to true [allow nulls]. - orderInPrimaryKey (Optional)
- Type: SystemInt32
The order in primary key. - orderInNaturalKey (Optional)
- Type: SystemInt32
The order in natural key. - isOwnershipReference (Optional)
- Type: SystemBoolean
true when the column is ownership reference.
See Also