| Oracle® Database Extensions for .NET Developer's Guide 11g Release 2 (11.2.0.1.2) for Microsoft Windows Part Number E17405-02 |
|
|
View PDF |
This appendix contains the following tables used to determine the correct parameter type mappings.
Table A-1, "Mapping of Oracle Native Data Type to .NET Framework Data Types"
Table A-2, "Mapping of .NET Framework Data Types to Oracle Native Data Types"
Table A-3, "Mapping of Oracle Native Data Type to ODP.NET Data Types"
Table A-4, "Mapping of ODP.NET Data Types to Oracle Native Data Types"
Mapping of Oracle Native Data Type to .NET Framework Data Types
Table A-1 lists the supported mapping of Oracle native data types to the .NET Framework Types.
Table A-1 Mapping of Oracle Native Data Type to .NET Framework Data Types
| Oracle Native Data Type | .NET Framework Data Types |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Not Supported |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mapping of .NET Framework Data Types to Oracle Native Data Types
Table A-2 lists the supported mapping of .NET Framework Types to Oracle native data types.
Table A-2 Mapping of .NET Framework Data Types to Oracle Native Data Types
| .NET Framework Data Types | Oracle Native Data Type |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mapping of Oracle Native Data Type to ODP.NET Data Types
Table A-3 lists the supported mapping of Oracle native data types to the ODP.NET Types.
Table A-3 Mapping of Oracle Native Data Type to ODP.NET Data Types
| Oracle Native Data Type | ODP.NET Type |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Not Supported |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mapping of ODP.NET Data Types to Oracle Native Data Types
Table A-4 lists the supported mapping of the ODP.NET Types to the Oracle native data types.
Table A-4 Mapping of ODP.NET Data Types to Oracle Native Data Types
| ODP.NET Type | Oracle Native Data Type |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* BFILE Mapping to .NET Framework
An Oracle native BFILE type parameter can be converted to a .NET Byte[]. However, converting a Byte[] to an Oracle native BFILE type is not supported. This means BFILE to .NET Byte[] conversion can be done only if the BFILE parameter type on the database side is an IN parameter and the corresponding parameter on the .NET stored procedure is an IN parameter of type Byte[]. For a BFILE INOUT, or OUT parameter or a RETURN VALUE, the corresponding .NET stored procedure parameters must be of type Oracle.DataAccess.Types.OracleBFile. Otherwise, an exception is thrown.
PL\SQL Associative Array
PL\SQL Associative array is not supported.