DBTypeDefinition Properties |
The DBTypeDefinition type exposes the following members.
| Name | Description | |
|---|---|---|
| DBType |
The numeric representation of the datatype.
| |
| DBTypeAsNETType |
The .NET type representation of the DBType.
| |
| DBTypeAsString | ||
| IsOfUserDefinedType |
Flag to signal if this datatype is of a user-defined type.
| |
| Length |
Length of the datatype in positions/bytes/elements. For unicoded fields/parameters, this length is the length in
unicoded elements, not the total length in bytes.
| |
| NetTypeSetByUserDefinedType |
Gets a value indicating whether the DbTypeAsNETType is set by an UDT (which is a CLR type). Necessary for saving/loading this type
to/from a file.
| |
| Precision |
The precision of the datatype. Only used by some numeric datatypes.
| |
| RequiresInsertValue |
Flag to signal if this datatype requires a value specified in Insert queries. Not all RDBMS's require for each type a value, e.g. SqlServer
doesn't require a value for Timestamp types, SqlServer will insert a value automatically.
| |
| Scale |
The scale of the datatype. Only used by some numeric datatypes.
| |
| UDTName |
Gets the name of the UDT the db type is based on. If not applicable, an empty string is returned.
| |
| UserDefinedTypeCatalog |
Defines the name of the catalog the User Defined Type is stored in if this datatype is a
user-defined type. Only valid if IsOfUserDefinedType is true.
| |
| UserDefinedTypeName |
Defines the name of the User Defined Type if this datatype is a user-defined type. Only valid if
IsOfUserDefinedType is true.
| |
| UserDefinedTypeOwner |
Defines the name of the owner of the User Defined Type if this datatype is a user-defined type.
Only valid if IsOfUserDefinedType is true.
|