Create a column of type eDataType with a default value, flagged if required, and a length requirement
Namespace: Wiker.WIDatabaseAssembly:
Syntax
C# |
---|
public void Column( string columnName, eDataType dataType, bool required, int length, Object defaultValue ) |
Visual Basic |
---|
Public Sub Column ( _ columnName As String, _ dataType As eDataType, _ required As Boolean, _ length As Integer, _ defaultValue As Object _ ) |
Visual C++ |
---|
public: void Column( String^ columnName, eDataType dataType, bool required, int length, Object^ defaultValue ) |
Parameters
- columnName
- Type: System..::..String
Column name to create
- dataType
- Type: Wiker.WIDatabase..::..eDataType
Column data type
- required
- Type: System..::..Boolean
Is column data required for INSERT
- length
- Type: System..::..Int32
Max length of column data (For Max length allowed use WIDatabase.MAX_LENGTH)
- defaultValue
- Type: System..::..Object
Default value for column data if not supplied