Back to API Home

The DatabaseType type exposes the following members.

Constructors

  NameDescription
Public methodDatabaseType()()()()
Initializes a new instance of the DatabaseType class.
Public methodDatabaseType(DatabaseTypeCode)
Initializes a new instance of the DatabaseType class.

Methods

  NameDescription
Public methodStatic memberBinary
Returns Binary database type.
Public methodClone
Creates a copy of this instance.
Public methodStatic memberCurrency
Returns Currency database type.
Public methodStatic memberDecimal(Int32)
Returns Decimal database type.
Public methodStatic memberDecimal(Int32, Int32)
Returns Decimal database type.
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides Object..::..Equals(Object).)
Public methodEquals(DatabaseType)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides Object..::..GetHashCode()()()().)
Public methodIsCompatible
Determines whether the current instance is compatible with the specified other database type.
Public methodStatic memberString
Returns String database type.
Public methodToString
Returns a String that represents this instance.
(Overrides Object..::..ToString()()()().)

Properties

  NameDescription
Public propertyDataTypeCode
Gets code of the data type to which native data type is mapped.
Public propertyIsDateTime
Gets a value indicating whether this data type is date/time.
Public propertyIsFixedLength
Gets a value indicating whether this is a fixed length data type.
Public propertyIsNumeric
Gets a value indicating whether this data type is numeric.
Public propertyMaxLength
Gets maximum length (for string and binary data types).
Public propertyNumericPrecision
Gets maximum number of digits (for numeric data types).
Public propertyNumericScale
Gets number of decimal places (for numeric data types).
Public propertyOriginalDataTypeName
Gets data type name as defined in the source database.

See Also