15.7.1 DbTypeプロパティとHiRDBTypeプロパティ
HiRDBParameterクラスのDbTypeプロパティを設定すると,自動的に同クラスのHiRDBTypeプロパティも設定されます。また,HiRDBTypeプロパティを設定すると,自動的にDbTypeプロパティも設定されます。DbTypeプロパティの設定時に自動設定されるHiRDBTypeプロパティの値を次の表に示します。
DbTypeプロパティ |
HiRDBTypeプロパティ |
---|---|
AnsiString |
VarChar |
AnsiStringFixedLength |
Char |
Binary |
Binary |
Boolean |
[NotSupportedException例外] |
Byte |
SmallInt |
Currency |
[NotSupportedException例外] |
Date |
Date |
DateTime |
TimeStamp |
Decimal |
Decimal |
Double |
Float |
Guid |
[NotSupportedException例外] |
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例外] |
HiRDBTypeプロパティの設定時に自動設定されるDbTypeプロパティの値を次の表に示します。
HiRDBTypeプロパティ |
DbTypeプロパティ |
---|---|
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 |