Skip Headers
Oracle® Data Provider for .NET Developer's Guide
11g Release 2 (11.2.0.3)

Part Number E23174-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

IOracleArrayTypeFactory Interface

The IOracleArrayTypeFactory interface is used by ODP.NET to create arrays that represent Oracle Collections.

Declaration

// C#
public interface IOracleArrayTypeFactory

Thread Safety

All public static methods are thread-safe, although instance methods do not guarantee thread safety.

Requirements

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


IOracleArrayTypeFactory Members

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

CreateArray

Returns a new array of the specified length to store Oracle Collection elements

CreateStatusArray

Returns a newly allocated OracleUdtStatus array of the specified length that will be used to store the null status of the collection elements



IOracleArrayTypeFactory Interface Methods

IOracleArrayTypeFactory Interface methods are listed in Table 16-27.

Table 16-27 IOracleArrayTypeFactory Interface Methods

Public Method Description

CreateArray

Returns a new array of the specified length to store Oracle Collection elements

CreateStatusArray

Returns a newly allocated OracleUdtStatus array of the specified length that will be used to store the null status of the collection elements


CreateArray

This interface method returns a new array of the specified length to store Oracle Collection elements.

Declaration

// C#
Array CreateArray(int numElems);

Parameters

Return Value

A System.Array object.

Remarks

An Oracle Collection Type may be represented in either of the following ways:

In both cases, the CreateArray method creates an array of the specified length to store the collection elements.

CreateStatusArray

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.

Declaration

// C#
Array CreateStatusArray(int numElems);

Parameters

Return Value

A multi-dimensional OracleUdtStatus array as a System.Array.

Remarks

An Oracle Collection Type can be represented in the following ways:

In both cases, the CreateStatusArray method creates an OracleUdtStatus array of the specified length that stores the null status of the collection elements.