ColumnName
|
DataType
|
Description
|
|---|
TypeName
|
string
|
The provider-specific data type name.
|
ProviderDbType
|
int
|
The provider-specific type value that should be used when specifying a parameter’s type. For example, SqlDbType.Money or OracleType.Blob.
|
ColumnSize
|
long
|
The length of a non-numeric column or parameter refers to either the maximum or the length defined for this type by the provider.
For character data, this is the maximum or defined length in units, defined by the data source. Oracle has the concept of specifying a length and then specifying the actual storage size for some character data types. This defines only the length in units for Oracle.
For date-time data types, this is the length of the string representation (assuming the maximum allowed precision of the fractional seconds component).
If the data type is numeric, this is the upper bound on the maximum precision of the data type.
|
CreateFormat
|
string
|
Format string that represents how to add this column to a data definition statement, such as CREATE TABLE. Each element in the CreateParameter array should be represented by a “parameter marker” in the format string.
For example, the SQL data type DECIMAL needs a precision and a scale. In this case, the format string would be “DECIMAL({0},{1})”.
|
CreateParameters
|
string
|
The creation parameters that must be specified when creating a column of this data type. Each creation parameter is listed in the string, separated by a comma in the order they are to be supplied.
For example, the SQL data type DECIMAL needs a precision and a scale. In this case, the creation parameters should contain the string “precision, scale”.
In a text command to create a DECIMAL column with a precision of 10 and a scale of 2, the value of the CreateFormat column might be DECIMAL({0},{1})” and the complete type specification would be DECIMAL(10,2).
|
DataType
|
string
|
The name of the .NET Framework type of the data type.
|
IsAutoincrementable
|
bool
|
true—Values of this data type may be auto-incrementing.
false—Values of this data type may not be auto-incrementing.
Note that this merely indicates whether a column of this data type may be auto-incrementing, not that all columns of this type are auto-incrementing.
|
IsBestMatch
|
bool
|
true—The data type is the best match between all data types in the data store and the .NET Framework data type indicated by the value in the DataType column.
false—The data type is not the best match.
For each set of rows in which the value of the DataType column is the same, the IsBestMatch column is set to true in only one row.
|
IsCaseSensitive
|
bool
|
true—The data type is a character type and is case-sensitive.
false—The data type is not a character type or is not case-sensitive.
|
IsFixedLength
|
bool
|
true—Columns of this data type created by the data definition language (DDL) will be of fixed length.
false—Columns of this data type created by the DDL will be of variable length.
DBNull.Value—It is not known whether the provider will map this field with a fixed-length or variable-length column.
|
IsFixedPrecisionScale
|
bool
|
true—The data type has a fixed precision and scale.
false—The data type does not have a fixed precision and scale.
|
IsLong
|
bool
|
true—The data type contains very long data; the definition of very long data is provider-specific.
false—The data type does not contain very long data.
|
IsNullable
|
bool
|
true—The data type is nullable.
false—The data type is not nullable.
DBNull.Value—It is not known whether the data type is nullable.
|
IsSearchable
|
bool
|
true—The data type can be used in a WHERE clause with any operator except the LIKE predicate.
false—The data type cannot be used in a WHERE clause with any operator except the LIKE predicate.
|
IsSearchableWithLike
|
bool
|
true—The data type can be used with the LIKE predicate
false—The data type cannot be used with the LIKE predicate.
|
IsUnsigned
|
bool
|
true—The data type is unsigned.
false—The data type is signed.
DBNull.Value—Not applicable to data type.
|
MaximumScale
|
short
|
If the type indicator is a numeric type, this is the maximum number of digits allowed to the right of the decimal point. Otherwise, this is DBNull.Value.
|
MinimumScale
|
short
|
If the type indicator is a numeric type, this is the minimum number of digits allowed to the right of the decimal point. Otherwise, this is DBNull.Value.
|
IsConcurrencyType
|
bool
|
true – the data type is updated by the database every time the row is changed and the value of the column is different from all previous values
false – the data type is note updated by the database every time the row is changed
DBNull.Value – the database does not support this type of data type
|
IsLiteralsSupported
|
bool
|
true – the data type can be expressed as a literal
false – the data type can not be expressed as a literal
|
LiteralPrefix
|
string
|
The prefix applied to a given literal.
|
LitteralSuffix
|
string
|
The suffix applied to a given literal.
|
NativeDataType
|
String
|
NativeDataType is an OLE DB specific column for exposing the OLE DB type of the data type .
|