Obtains [TableColumnSchema-Information] according to provider for specified [Table] via [Database] connected.
| SchemaTableColumnInfo | Description |
|---|---|
| Catalog | Table qualifier |
| Schema | Name of schema that contains the table. |
| Table | Table name. |
| Name | Column name. |
| Ordinal | Column identification number. |
| Nullable | Nullability of the column. |
| DefaultValue | Default value of the column. |
| Length | Precision of approximate numeric columns. This value is the Maximum length of characters, for types of binary, character, text and image. |
| Scale | Scale of approximate numeric data. |
| IsKey | Is Column in primary-key. |
| DataTypeName | Database type name of the column. |
| DataType | .Net system type of the column. |
| ColumnType | Table definition type of the column. |
using(var exc = cn.Executer())
var columns = exc.GetTableColumns("table_name");
var columns = (new Orders()).GetTableColumns();