Click or drag to resize

ColumnMetadata Constructor

Initializes a new instance of the ColumnMetadata class.

Namespace:  Aloe.SystemFrameworks.Domain.DataAccess
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public ColumnMetadata(
	string columnName,
	Type dataType,
	int maxLength = 0,
	bool allowNulls = false,
	int orderInPrimaryKey = 0,
	int orderInNaturalKey = 0,
	bool isOwnershipReference = false
)

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