DataType Structure |
Namespace: Dundas.BI.Data.Metadata
The DataType type exposes the following members.
| Name | Description | |
|---|---|---|
| DataType(Type) |
Initializes a new instance of the DataType structure.
| |
| DataType(TypeCode) |
Initializes a new instance of the DataType structure.
| |
| DataType(DatabaseType) |
Initializes a new instance of the DataType structure.
|
| Name | Description | |
|---|---|---|
| DatabaseType |
Gets or sets the data type to which native data type is mapped.
| |
| IsBoolean |
Gets a value indicating whether this data type is Boolean.
| |
| IsDateTime |
Gets a value indicating whether this data type is date/time.
| |
| IsInteger |
Gets a value indicating whether this data type is an integer number (without a fractional component).
| |
| IsNullable |
Gets or sets a value indicating whether this instance accepts for a value.
| |
| IsNumeric |
Gets a value indicating whether this data type is numeric.
| |
| IsNumericOverflow |
Gets or sets a value indicating whether the data provider cannot handle conversion to double for numeric values with a scale or precision that is too high.
| |
| IsSortable |
Gets or sets a value indicating whether the data type is sortable.
| |
| IsString |
Gets a value indicating whether this data type is string.
| |
| MaxLength |
Gets or sets the maximum length (for string and binary data types).
| |
| NumericPrecision |
Gets or sets the maximum number of digits (for numeric data types).
| |
| NumericScale |
Gets or sets the number of decimal places (for numeric data types).
| |
| OriginalDataTypeName |
Gets or sets the data type name as defined in the source database.
| |
| SystemType |
Gets the .NET system type.
|
| Name | Description | |
|---|---|---|
| Binary |
Returns a binary DataType with the specified length.
| |
| Currency |
Returns a currency DataType the specified numeric precision.
| |
| Decimal(Int32) |
Returns a decimal DataType with the specified precision.
| |
| Decimal(Int32, Int32) |
Returns a decimal DataType with the specified precision and scale.
| |
| Double |
Returns a double DataType.
| |
| Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides ValueTypeEquals(Object).) | |
| Equals(DataType) | Indicates whether the current object is equal to another object of the same type. | |
| GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode.) | |
| IsCompatibleWith |
Determines whether the current object is compatible with to another object of the same type.
| |
| String |
Returns a string DataType with the specified length.
| |
| ToString |
Returns a String that represents this instance.
(Overrides ValueTypeToString.) | |
| TryConvertValue |
Convert the value to this data type.
|
| Name | Description | |
|---|---|---|
| Equality |
Compares two DataType structures for equality.
| |
| Inequality |
Compares two DataType structures for inequality.
|