Class Column
Represents a table column.
Inheritance
System.Object
Column
Namespace: MySqlX.XDevAPI.Relational
Assembly: MySql.Data.dll
Version: 9.1.0
Syntax
public class Column
Constructors
Column()
Initializes a new instance of the Column class.
Declaration
public Column()
Properties
CharacterSetName
Gets the character set used for this column.
Declaration
public string CharacterSetName { get; }
Property Value
Type | Description |
---|---|
System.String |
ClrType
Gets the .NET Clr data type.
Declaration
public Type ClrType { get; }
Property Value
Type | Description |
---|---|
System.Type |
CollationName
Gets the collation used for this column.
Declaration
public string CollationName { get; }
Property Value
Type | Description |
---|---|
System.String |
ColumnLabel
Gets the alias of the column name.
Declaration
public string ColumnLabel { get; }
Property Value
Type | Description |
---|---|
System.String |
ColumnName
Gets the original column name.
Declaration
public string ColumnName { get; }
Property Value
Type | Description |
---|---|
System.String |
DatabaseName
Gets the catalog the schema originates from.
In MySQL protocol this is def
by default.
Declaration
public string DatabaseName { get; }
Property Value
Type | Description |
---|---|
System.String |
FractionalDigits
Gets the fractional decimal digits for floating point and fixed point numbers.
Declaration
public uint FractionalDigits { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
IsNumberSigned
True if it's a signed number.
Declaration
public bool IsNumberSigned { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsPadded
True if column is UINT zerofill or BYTES rightpad.
Declaration
public bool IsPadded { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Length
Gets the column length.
Declaration
public uint Length { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
SchemaName
Gets the schema name the column originates from.
Declaration
public string SchemaName { get; }
Property Value
Type | Description |
---|---|
System.String |
TableLabel
Gets the alias of the table name .
Declaration
public string TableLabel { get; }
Property Value
Type | Description |
---|---|
System.String |
TableName
Gets the table name the column orginates from.
Declaration
public string TableName { get; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets the Mysql data type.
Declaration
public ColumnType Type { get; }
Property Value
Type | Description |
---|---|
ColumnType |