|
.NET Framework Beta 2 |
|||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
The structure representing a mySql Field.
Field Summary | |
---|---|
uint |
Decimals
The number of decimals for numeric fields. |
string |
Def
The default value of this field. This is set only if you use MySqlSharp.Provider.ClientAPI.MySql.FetchFields(System.IntPtr). |
MySqlSharp.Provider.ClientAPI.FieldType |
FieldTypes
The type of the field. |
MySqlSharp.Provider.ClientAPI.FieldFlags |
Flags
Different bit-flags for the field. |
uint |
Length
The width of the field, as specified in the table definition. |
uint |
MaxLength
The maximum width of the field for the result set (the length of the longest field value for the rows actually in the result set). |
string |
Name
The name of the field |
string |
Table
The name of the table containing this field, if it isn't a calculated field. For calculated fields, this value is an empty string. |
Constructor Summary | |
---|---|
Field() Initializes a new instance of the Field class. |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Field Detail |
---|
public uint Decimals
The number of decimals for numeric fields.
public string Def
The default value of this field. This is set only if you use MySqlSharp.Provider.ClientAPI.MySql.FetchFields(System.IntPtr).
public MySqlSharp.Provider.ClientAPI.FieldType FieldTypes
The type of the field.
public MySqlSharp.Provider.ClientAPI.FieldFlags Flags
Different bit-flags for the field.
public uint Length
The width of the field, as specified in the table definition.
public uint MaxLength
The maximum width of the field for the result set (the length of the longest field value for the rows actually in the result set).
If you use MySqlSharp.Provider.ClientAPI.MySql.StoreResult(System.IntPtr), this contains the maximum length for the field. If you use MySqlSharp.Provider.ClientAPI.MySql.UseResult(System.IntPtr), the value of this variable is zero.
public string Name
The name of the field
public string Table
The name of the table containing this field, if it isn't a calculated field. For calculated fields, this value is an empty string.
Constructor Detail |
---|
public Field()
Initializes a new instance of the Field class.
|
.NET Framework Beta 2 |
|||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |