Nonstop Database, HiRDB Version 9 UAP Development Guide
When the DbType property of the HiRDBParameter class is set, the HiRDBType property of the same class is automatically set. When the HiRDBType property is set, the DbType property is automatically set. Table 16-3 lists the HiRDBType property values that are automatically set when the DbType property is set, and Table 16-4 lists the DbType property values that are automatically set when the HiRDBType property is set.
Table 16-3 HiRDBType property values that are automatically set when the DbType property is set
DbType property | HiRDBType property |
---|---|
AnsiString | VarChar |
AnsiStringFixedLength | Char |
Binary | Binary |
Boolean | [NotSupportedException exception] |
Byte | SmallInt |
Currency | [NotSupportedException exception] |
Date | Date |
DateTime | TimeStamp |
Decimal | Decimal |
Double | Float |
Guid | [NotSupportedException exception] |
Int16 | SmallInt |
Int32 | Integer |
Int64 | Decimal |
Object | Binary |
SByte | SmallInt |
Single | SmallFlt |
String | MvarChar |
StringFixedLength | Mchar |
Time | Time |
UInt16 | Integer |
UInt32 | Decimal |
UInt64 | Decimal |
VarNumeric | [NotSupportedException exception] |
Table 16-4 DbType property values that are automatically set when the HiRDBType property is set
HiRDBType property | DbType property |
---|---|
Binary | Object |
Blob | Object |
Char | AnsiStringFixedLength |
Date | Date |
Decimal | Decimal |
Float | Double |
Integer | Int32 |
IntervalYearToDay | String |
IntervalHourToSecond | String |
MChar | StringFixedLength |
MVarChar | String |
NChar | StringFixedLength |
NVarChar | String |
SmallFlt | Single |
SmallInt | Int16 |
Time | Time |
TimeStamp | DateTime |
VarChar | AnsiString |
All Rights Reserved. Copyright (C) 2011, Hitachi, Ltd.