Oracle® Data Provider for .NET Developer's Guide 11g Release 2 (11.2.0.3) Part Number E23174-02 |
|
|
PDF · Mobi · ePub |
The IOracleArrayTypeFactory
interface is used by ODP.NET to create arrays that represent Oracle Collections.
// C# public interface IOracleArrayTypeFactory
All public static methods are thread-safe, although instance methods do not guarantee thread safety.
Namespace: Oracle.DataAccess.Types
Assembly: Oracle.DataAccess.dll
ODP.NET Version: ODP.NET for .NET Framework 2.0 or ODP.NET for .NET Framework 4
See Also:
IOracleArrayTypeFactory
members are listed in the following tables.
IOracleArrayTypeFactory Interface Methods
IOracleArrayTypeFactory
interface methods are listed in Table 16-26.
Table 16-26 IOracleArrayTypeFactory Interface Methods
Public Method | Description |
---|---|
Returns a new array of the specified length to store Oracle Collection elements |
|
Returns a newly allocated |
IOracleArrayTypeFactory
Interface methods are listed in Table 16-27.
Table 16-27 IOracleArrayTypeFactory Interface Methods
Public Method | Description |
---|---|
Returns a new array of the specified length to store Oracle Collection elements |
|
Returns a newly allocated |
See Also:
This interface method returns a new array of the specified length to store Oracle Collection elements.
// C#
Array CreateArray(int numElems);
numElems
The number of collection elements to be returned.
A System.Array
object.
An Oracle Collection Type may be represented in either of the following ways:
As an array of the appropriate type. The type must be able to represent a collection element.
As a Custom Type that contains an array of the appropriate type.
In both cases, the CreateArray
method creates an array of the specified length to store the collection elements.
See Also:
This method returns a newly allocated OracleUdtStatus
array of the specified length that will be used to store the null status of the collection elements.
// C#
Array CreateStatusArray(int numElems);
numElems
The number of collection elements to be returned.
A multi-dimensional OracleUdtStatus
array as a System.Array
.
An Oracle Collection Type can be represented in the following ways:
As an array of the appropriate type. The type must be able to represent a collection element.
As a Custom Type that contains an array of the appropriate type.
In both cases, the CreateStatusArray
method creates an OracleUdtStatus
array of the specified length that stores the null status of the collection elements.