Examples
Overload List
Name | Description | |
---|---|---|
![]() | Column(String, eDataType) |
Create a column of type eDataType
|
![]() | Column(String, eDataType, Boolean) |
Create a column of type eDataType and flagged if required
|
![]() | Column(String, eDataType, Int32) |
Create a column of that requires a length
|
![]() | Column(String, eDataType, Boolean, Object) |
Create a column of type eDataType with a default value and flagged if required
|
![]() | Column(String, eDataType, Boolean, Int32, Object) |
Create a column of type eDataType with a default value, flagged if required, and a length requirement
|
Examples

/* Create column 'Count' as an Int32 */ WIDB.Table.Column("Count", eDataType.Int32); /* Create column 'Address' as a Text string with a max length of 256 */ WIDB.Table.Column("Address", eDataType.Text, 256); /* Create column 'Valid' as a Bool with a default value of 'false' */ /* that is required upon insert */ WIDB.Table.Column("Valid", eDataType.Bool, false, true); /* Create column 'City' as a Text string with a max length of 50 */ /* That defaults to 'Lancaster' and is required upon insert */ WIDB.Table.Column("City", eDataType.VarChar, "Lancaster", true, 50);