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

Requirements

Provider ODP.NET, Unmanaged Driver
Assembly Oracle.DataAccess.dll
Namespace Oracle.DataAccess.Types
.NET Framework 3.5, 4.0, 4.5

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.

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