Creates a new instance of the ColumnSchema object.
Namespace: SchemaExplorerAssembly: SchemaExplorer (in SchemaExplorer.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public ColumnSchema( TableSchema table, string name, DbType dataType, string nativeType, int size, byte precision, int scale, bool allowDBNull ) |
Visual Basic |
---|
Public Sub New ( table As TableSchema, name As String, dataType As DbType, nativeType As String, size As Integer, precision As Byte, scale As Integer, allowDBNull As Boolean ) |
Parameters
- table
- Type: SchemaExplorer..::..TableSchema
The table that the column belongs to.
- name
- Type: System..::..String
The name of the column.
- dataType
- Type: System.Data..::..DbType
The columns data type.
- nativeType
- Type: System..::..String
The columns native type.
- size
- Type: System..::..Int32
The size of the column.
- precision
- Type: System..::..Byte
The precision of the column.
- scale
- Type: System..::..Int32
The scale of the column.
- allowDBNull
- Type: System..::..Boolean
Whether the column allows null values.