Back to API Home
The DatabaseType type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | DatabaseType()()()() |
Initializes a new instance of the DatabaseType class.
|
![]() | DatabaseType(DatabaseTypeCode) |
Initializes a new instance of the DatabaseType class.
|
Methods
Name | Description | |
---|---|---|
![]() ![]() | Binary |
Returns Binary database type.
|
![]() | Clone |
Creates a copy of this instance.
|
![]() ![]() | Currency |
Returns Currency database type.
|
![]() ![]() | Decimal(Int32) |
Returns Decimal database type.
|
![]() ![]() | Decimal(Int32, Int32) |
Returns Decimal database type.
|
![]() | Equals(Object) |
Determines whether the specified Object is equal to this instance.
(Overrides Object..::..Equals(Object).) |
![]() | Equals(DatabaseType) |
Indicates whether the current object is equal to another
object of the same type.
|
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Overrides Object..::..GetHashCode()()()().) |
![]() | IsCompatible |
Determines whether the current instance is compatible with the specified other database type.
|
![]() ![]() | String |
Returns String database type.
|
![]() | ToString |
Returns a String that represents this instance.
(Overrides Object..::..ToString()()()().) |
Properties
Name | Description | |
---|---|---|
![]() | DataTypeCode |
Gets code of the data type to which native data type is mapped.
|
![]() | IsDateTime |
Gets a value indicating whether this data type is date/time.
|
![]() | IsFixedLength |
Gets a value indicating whether this is
a fixed length data type.
|
![]() | IsNumeric |
Gets a value indicating whether this data type is numeric.
|
![]() | MaxLength |
Gets maximum length (for string and binary data types).
|
![]() | NumericPrecision |
Gets maximum number of digits (for numeric data types).
|
![]() | NumericScale |
Gets number of decimal places (for numeric data types).
|
![]() | OriginalDataTypeName |
Gets data type name as defined in the source database.
|