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

Part Number E17357-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

OracleArrayMappingAttribute Class

The OracleArrayMappingAttribute class is required to mark a custom class field or property with information that ODP.NET uses when a custom type represents an Oracle Collection type.

Class Inheritance

System.Object

  System.Attribute

    System.OracleArrayMappingAttribute

Declaration

[AttributeUsageAttribute(AttributeTargets.Field|AttributeTargets.Property, AllowMultiple=false, Inherited=true)]

// C#
public sealed class OracleArrayMappingAttribute : Attribute

Remarks

An OracleArrayMappingAttribute object must be specified when a custom type represents an Oracle Collection. This attribute is applied only to the custom class member that stores the collection elements.

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


OracleArrayMappingAttribute Members

OracleArrayMappingAttribute members are listed in the following tables.

OracleArrayMappingAttribute Constructors

OracleArrayMappingAttribute constructors are listed in Table 16-15.

Table 16-15 OracleArrayMappingAttribute Constructors

Constructor Description

OracleArrayMappingAttribute Constructors

Instantiates a new instance of OracleArrayMappingAttribute class (Overloaded)


OracleArrayMappingAttribute Static Methods

OracleArrayMappingAttribute static methods are listed in Table 16-16.

Table 16-16 OracleArrayMappingAttribute Static Methods

Method Description

Equals

Inherited from System.Attribute

GetCustomAttribute

Inherited from System.Attribute

GetCustomAttributes

Inherited from System.Attribute

IsDefined

Inherited from System.Attribute

ReferenceEquals

Inherited from System.Attribute


OracleArrayMappingAttribute Properties

OracleArrayMappingAttribute properties are listed in Table 16-17.

Table 16-17 OracleArrayMappingAttribute Properties

Property Description

TypeId

Inherited from System.Attribute


OracleArrayMappingAttribute Methods

OracleArrayMappingAttribute methods are listed in Table 16-18.

Table 16-18 OracleArrayMappingAttribute Methods

Method Description

Equals

Inherited from System.Attribute

GetHashCode

Inherited from System.Attribute

GetType

Inherited from System.Attribute

IsDefaultAttribute

Inherited from System.Attribute

Match

Inherited from System.Attribute

ToString

Inherited from System.Attribute



OracleArrayMappingAttribute Constructors

OracleArrayMappingAttribute constructors create new instances of the OracleArrayMappingAttribute class.

Overload List:

OracleArrayMappingAttribute()

This constructor creates and initializes an OracleArrayMappingAttribute object.

Declaration

// C#
public OracleArrayMappingAttribute();

Remarks

An OracleArrayMappingAttribute object must be applied when a custom class represents an Oracle Collection type, to specify the custom class field or property that stores the collection elements.

The OracleArrayMappingAttribute can be applied to only one field or property in the custom class.


OracleArrayMappingAttribute Static Methods

OracleArrayMappingAttribute static methods are listed in Table 16-19.

Table 16-19 OracleArrayMappingAttribute Static Methods

Method Description

Equals

Inherited from System.Attribute

GetCustomAttribute

Inherited from System.Attribute

GetCustomAttributes

Inherited from System.Attribute

IsDefined

Inherited from System.Attribute

ReferenceEquals

Inherited from System.Attribute



OracleArrayMappingAttribute Properties

OracleArrayMappingAttribute properties are listed in Table 16-20.

Table 16-20 OracleArrayMappingAttribute Properties

Property Description

TypeId

Inherited from System.Attribute



OracleArrayMappingAttribute Methods

OracleArrayMappingAttribute methods are listed in Table 16-21.

Table 16-21 OracleArrayMappingAttribute Methods

Method Description

Equals

Inherited from System.Attribute

GetHashCode

Inherited from System.Attribute

GetType

Inherited from System.Attribute

IsDefaultAttribute

Inherited from System.Attribute

Match

Inherited from System.Attribute

ToString

Inherited from System.Attribute