ESQL から .NET へのマッピングを要約している表。
ブローカー・タイプ 1 | CLR タイプ 1 | ブローカー・タイプ 2 | CLR タイプ 2 |
---|---|---|---|
NULL 以外の整数 | Int64 | NULL 以外の日付 | DateTimeOffset |
Integer | Nullable<Int64> | Date | Nullable<DateTimeOffset> |
NULL 以外の Int | Int32 | NULL 以外の時間 | TimeSpan |
Int | Nullable<Int32> | 時間 | Nullable<TimeSpan> |
NULL 以外の 10 進数 | Decimal | NULL 以外のタイム・スタンプ | DateTimeOffset |
Decimal | Nullable<Decimal> | タイム・スタンプ | Nullable<DateTimeOffset> |
NULL 以外の浮動小数点 | Double | NULL 以外の GMT 時間 | TimeSpan |
Float | Nullable<Double> | GMT 時間 | Nullable<TimeSpan> |
NULL 以外のビット | BitArray | Gmttimestamp Not Null | DateTime |
BIT | "" | Gmttimestamp | Nullable<DateTime> |
NULL 以外の BLOB | Byte[] | NULL 以外の間隔1 | TimeSpan |
Blob | "" | 間隔 1 | Nullable<TimeSpan> |
NULL 以外の文字 | ストリング | 間隔 年 – 月 | サポートされていない |
Character | "" | ||
NULL 以外の Char 型 | Char | NULL 以外の参照 | NBElement |
Char | Nullable<Char> | 参照 | "" |
NULL 以外のブール値 | ブール | ||
Boolean | Nullable<Boolean> |
ブローカー・タイプ | C# タイプ (入力) | C# タイプ (出力) | C# タイプ (入出力) |
---|---|---|---|
NULL 以外の整数 | long | out long | ref long |
Integer | long? | out long? | ref long? |
NULL 以外の Int | int | out int | ref int |
Int | int? | out int? | ref int? |
NULL 以外の 10 進数 | decimal | out decimal | ref decimal |
Decimal | decimal? | out decimal? | ref decimal? |
NULL 以外の浮動小数点 | double | out double | ref double |
Float | double? | out double? | ref double? |
NULL 以外のビット | BitArray | out BitArray | ref BitArray |
BIT | "" | "" | "" |
NULL 以外の BLOB | Byte[] | out Byte[] | ref Byte[] |
Blob | "" | "" | "" |
NULL 以外の文字 | ストリング | out string | ref string |
Character | "" | "" | "" |
NULL 以外の Char 型 | char | out char | ref char |
Char | char? | out char? | ref char? |
NULL 以外のブール値 | bool | out bool | ref bool |
Boolean | bool? | out bool? | ref bool? |
NULL 以外の日付 | DateTimeOffset | out DateTimeOffset | ref DateTimeOffset |
Date | DateTimeOffset? | out DateTimeOffset? | ref DateTimeOffset? |
NULL 以外の時間 | TimeSpan | out TimeSpan | ref TimeSpan |
時間 | TimeSpan? | out TimeSpan? | ref TimeSpan? |
NULL 以外のタイム・スタンプ | DateTimeOffset | out DateTimeOffset | ref DateTimeOffset |
タイム・スタンプ | DateTimeOffset? | out DateTimeOffset? | ref DateTimeOffset? |
NULL 以外の GMT 時間 | TimeSpan | out TimeSpan | ref TimeSpan |
GMT 時間 | TimeSpan? | out TimeSpan? | ref TimeSpan? |
Gmttimestamp Not Null | DateTime | out DateTime | ref DateTime |
Gmttimestamp | DateTime? | out DateTime? | ref DateTime? |
NULL 以外の間隔1 | TimeSpan | out TimeSpan | ref TimeSpan |
間隔 1 | TimeSpan? | out TimeSpan? | ref TimeSpan? |
間隔 年 - 月 | サポートされていない | サポートされていない | サポートされていない |
NULL 以外の参照 | NBElement | サポートされていない | ref NBElement |
参照 | "" | "" | "" |
ブローカー・タイプ | VB タイプ (入力) | VB タイプ (出力) | VB タイプ (入出力) |
---|---|---|---|
NULL 以外の整数 | ByVal Long | <Out()> ByRef Long | ByRef Long |
Integer | ByVal Long? | <Out()> ByRef Long? | ByRef Long? |
NULL 以外の Int | ByVal Integer | <Out()> ByRef Integer | ByRef Integer |
Int | ByVal Integer? | <Out()> ByRef Integer? | ByRef Integer? |
NULL 以外の 10 進数 | ByVal Decimal | <Out()> ByRef Decimal | ByRef Decimal |
Decimal | ByVal Decimal? | <Out()> ByRef Decimal? | ByRef Decimal? |
NULL 以外の浮動小数点 | ByVal Double | <Out()> ByRef Double | ByRef Double |
Float | ByVal Double? | <Out()> ByRef Double? | ByRef Double? |
NULL 以外のビット | ByVal BitArray | <Out()> ByRef BitArray | ByRef BitArray |
BIT | "" | "" | "" |
NULL 以外の BLOB | ByVal Byte() | <Out()> ByRef Byte() | ByRef Byte() |
Blob | "" | "" | "" |
NULL 以外の文字 | ByVal String | <Out()> ByRef String | ByRef String |
Character | "" | "" | "" |
NULL 以外の Char 型 | ByVal Char | <Out()> ByRef Char | ByRef Char |
Char | ByVal Char? | <Out()> ByRef Char? | ByRef Char? |
NULL 以外のブール値 | ByVal Boolean | <Out()> ByRef Boolean | ByRef Boolean |
Boolean | ByVal Boolean? | <Out()> ByRef Boolean? | ByRef Boolean? |
NULL 以外の日付 | ByVal DateTimeOffset | <Out()> ByRef DateTimeOffset | ByRef DateTimeOffset |
Date | ByVal DateTimeOffset? | <Out()> ByRef DateTimeOffset? | ByRef DateTimeOffset? |
NULL 以外の時間 | ByVal TimeSpan | <Out()> ByRef TimeSpan | ByRef TimeSpan |
時間 | ByVal TimeSpan? | <Out()> ByRef TimeSpan? | ByRef TimeSpan? |
NULL 以外のタイム・スタンプ | ByVal DateTimeOffset | <Out()> ByRef DateTimeOffset | ByRef DateTimeOffset |
タイム・スタンプ | ByVal DateTimeOffset? | <Out()> ByRef DateTimeOffset? | ByRef DateTimeOffset? |
NULL 以外の GMT 時間 | ByVal TimeSpan | <Out()> ByRef TimeSpan | ByRef TimeSpan |
GMT 時間 | ByVal TimeSpan? | <Out()> ByRef TimeSpan? | ByRef TimeSpan? |
Gmttimestamp Not Null | ByVal DateTime | <Out()> ByRef DateTime | ByRef DateTime |
Gmttimestamp | ByVal DateTime? | <Out()> ByRef DateTime? | ByRef DateTime? |
NULL 以外の間隔1 | ByVal TimeSpan | <Out()> ByRef TimeSpan | ByRef TimeSpan |
間隔 1 | ByVal TimeSpan? | <Out()> ByRef TimeSpan? | ByRef TimeSpan? |
間隔 年 - 月 | サポートされていない | サポートされていない | サポートされていない |
NULL 以外の参照 | ByVal NBElement | サポートされていない | ByRef NBElement |
参照 |
ブローカー・タイプ | F# タイプ (入力) | F# タイプ (出力) | F# タイプ (入出力) |
---|---|---|---|
NULL 以外の整数 | int64 | [<Out>] byref<int64> | byref<int64> |
Integer | Nullable<int64> | [<Out>] byref<Nullable<int64>> | byref<Nullable<int64>> |
NULL 以外の Int | int | [<Out>] byref<int> | byref<int> |
Int | Nullable<int> | [<Out>] byref<Nullable<int>> | byref<Nullable<int>> |
NULL 以外の 10 進数 | decimal | [<Out>] byref<decimal> | byref<decimal> |
Decimal | Nullable<decimal> | [<Out>] byref<Nullable<decimal>> | byref<Nullable<decimal>> |
NULL 以外の浮動小数点 | double | [<Out>] byref<double> | byref<double> |
Float | Nullable<double> | [<Out>] byref<Nullable<double>> | byref<Nullable<double>> |
NULL 以外のビット | BitArray | [<Out>] byref<BitArray> | byref<BitArray> |
BIT | "" | "" | "" |
NULL 以外の BLOB | byte[] | [<Out>] byref<byte[]> | byref<byte[]> |
Blob | "" | "" | "" |
NULL 以外の文字 | char | [<Out>] byref<char> | byref<char> |
Character | "" | "" | "" |
NULL 以外の Char 型 | ストリング | [<Out>] byref<string> | byref<string> |
Char | Nullable<char> | [<Out>] byref<Nullable<char>> | byref<Nullable<char>> |
NULL 以外のブール値 | bool | [<Out>] byref<bool> | byref<bool> |
Boolean | Nullable<bool> | [<Out>] byref<Nullable<bool>> | byref<Nullable<bool>> |
NULL 以外の日付 | DateTimeOffset | [<Out>] byref<DateTimeOffset> | byref<DateTimeOffset> |
Date | Nullable<DateTimeOffset> | [<Out>] byref<Nullable<DateTimeOffset>> | byref<Nullable<DateTimeOffset>> |
NULL 以外の時間 | TimeSpan | [<Out>] byref<TimeSpan> | byref<TimeSpan> |
時間 | Nullable<TimeSpan> | [<Out>] byref <Nullable<TimeSpan>> | byref<Nullable<TimeSpan>> |
NULL 以外のタイム・スタンプ | DateTimeOffset | [<Out>] byref<DateTimeOffset> | byref<DateTimeOffset> |
タイム・スタンプ | Nullable<DateTimeOffset> | [<Out>] byref<Nullable<DateTimeOffset>> | byref<Nullable<DateTimeOffset>> |
NULL 以外の GMT 時間 | TimeSpan | [<Out>] byref<TimeSpan> | byref<TimeSpan> |
GMT 時間 | Nullable<TimeSpan> | [<Out>] byref<Nullable<TimeSpan>> | byref<Nullable<TimeSpan>> |
Gmttimestamp Not Null | DateTime | [<Out>] byref<DateTime> | byref<DateTime> |
Gmttimestamp | Nullable<DateTime> | [<Out>] byref<Nullable<DateTime>> | byref<Nullable<DateTime>> |
NULL 以外の間隔1 | TimeSpan | [<Out>] byref<TimeSpan> | byref<TimeSpan> |
間隔 1 | Nullable<TimeSpan> | [<Out>] byref<Nullable<TimeSpan>> | byref<Nullable<TimeSpan>> |
間隔 年 - 月 | サポートされていない | サポートされていない | サポートされていない |
NULL 以外の参照 | NBElement | サポートされていない | byref<NBElement> |
参照 | "" | "" | "" |
ブローカー・タイプ | CPP タイプ (入力) | CPP タイプ (出力) | CPP タイプ (入出力) |
---|---|---|---|
NULL 以外の整数 | long long | [Out] long long% | long long% |
Integer | Nullable<long long> | [Out] Nullable<long long>% | Nullable<long long>% |
NULL 以外の Int | int | [Out] int% | int% |
Int | Nullable<int> | [Out] Nullable<int>% | Nullable<int>% |
NULL 以外の 10 進数 | Decimal | [Out] Decimal% | Decimal% |
Decimal | Nullable<Decimal> | [Out] Nullable<Decimal>% | Nullable<Decimal>% |
NULL 以外の浮動小数点 | double | [Out] double% | double% |
Float | Nullable<double> | [Out] Nullable<double>% | Nullable<double>% |
NULL 以外のビット | BitArray^ | [Out] BitArray^% | BitArray^% |
BIT | "" | "" | "" |
NULL 以外の BLOB | array<unsigned char>^ | [Out] array<unsigned char>^% | array<unsigned char>^% |
Blob | "" | "" | "" |
NULL 以外の文字 | String^ | [Out] String^% | String^% |
Character | "" | "" | "" |
NULL 以外の Char 型 | wchar_t | [Out] wchar_t% | wchar_t% |
Char | Nullable<wchar_t> | [Out] Nullable<wchar_t>% | Nullable<wchar_t>% |
NULL 以外のブール値 | bool | [Out] bool% | bool% |
Boolean | Nullable<bool> | [Out] Nullable<bool>% | Nullable<bool>% |
NULL 以外の日付 | DateTimeOffset | [Out] DateTimeOffset% | DateTimeOffset% |
Date | Nullable<DateTimeOffset> | [Out] Nullable<DateTimeOffset>% | Nullable<DateTimeOffset>% |
NULL 以外の時間 | TimeSpan | [Out] TimeSpan% | TimeSpan% |
時間 | Nullable<TimeSpan> | [Out] Nullable<TimeSpan>% | Nullable<TimeSpan>% |
NULL 以外のタイム・スタンプ | DateTimeOffset | [Out] DateTimeOffset% | DateTimeOffset% |
タイム・スタンプ | Nullable<DateTimeOffset> | [Out] Nullable<DateTimeOffset>% | Nullable<DateTimeOffset>% |
NULL 以外の GMT 時間 | TimeSpan | [Out] TimeSpan% | TimeSpan% |
GMT 時間 | Nullable<TimeSpan> | [Out] Nullable<TimeSpan>% | Nullable<TimeSpan>% |
Gmttimestamp Not Null | DateTime | [Out] DateTime% | DateTime% |
Gmttimestamp | Nullable<DateTime> | [Out] Nullable<DateTime>% | Nullable<DateTime>% |
NULL 以外の間隔1 | TimeSpan | [Out] TimeSpan% | TimeSpan% |
間隔 1 | Nullable<TimeSpan> | [Out] Nullable<TimeSpan>% | Nullable<TimeSpan>% |
間隔 年 - 月 | サポートされていない | サポートされていない | サポートされていない |
参照 | NBElement^ | サポートされていない | NBElement^% |
"" | "" | "" |
ブローカー・タイプ 1 | JScript タイプ 1 | ブローカー・タイプ 2 | JScript タイプ 2 |
---|---|---|---|
NULL 以外の整数 | long | NULL 以外の日付 | DateTimeOffset |
NULL 以外の Int | int | NULL 以外の時間 | TimeSpan |
NULL 以外の 10 進数 | decimal | NULL 以外のタイム・スタンプ | DateTimeOffset |
NULL 以外の浮動小数点 | double | NULL 以外の GMT 時間 | TimeSpan |
NULL 以外のビット | BitArray | Gmttimestamp Not Null | DateTime |
NULL 以外の BLOB | byte[] | NULL 以外の間隔1 | TimeSpan |
NULL 以外の文字 | ストリング | 間隔 年 - 月 | サポートされていない |
NULL 以外の Char 型 | Char | NULL 以外の参照 | NBElement |
NULL 以外のブール値 | boolean |
CONSTANT と宣言される変数 (または CONSTANT と宣言される変数の参照) は、向き INOUT または OUT を持つことはできません。
ターゲットの .NET データ・タイプに対して大きすぎる値が .NET ルーチンにパラメーターとして渡された場合、例外がスローされます。 この例外は、INT パラメーターに最も大きい .NET 署名付き int 値 (2^31-1) より大きい値が渡された場合、または 1 文字より多い CHAR パラメーターが渡された場合に発生する可能性があります。
NULL 値が .NET ルーチンにパラメーターとして渡され、パラメーターが NOT NULL とマークが付けられている場合、例外がスローされます。
参照先の変数のデータ・タイプが、.NET メソッド・シグニチャー内の対応するデータ・タイプと一致している場合に、スカラー変数への REFERENCE を .NET メソッドの CALL の中で使用できます。