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.
System.Object
System.Attribute
System.
OracleArrayMappingAttribute
[AttributeUsageAttribute(AttributeTargets.Field|AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
// C# public sealed class OracleArrayMappingAttribute : Attribute
Provider | ODP.NET, Unmanaged Driver |
Assembly | Oracle.DataAccess.dll |
Namespace | Oracle.DataAccess.Types |
.NET Framework | 3.5, 4.0, 4.5 |
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.
All public static methods are thread-safe, although instance methods do not guarantee thread safety.
See Also:
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 |
---|---|
Instantiates a new instance of |
OracleArrayMappingAttribute Static Methods
OracleArrayMappingAttribute
static methods are listed in Table 16-16.
Table 16-16 OracleArrayMappingAttribute Static Methods
Method | Description |
---|---|
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
OracleArrayMappingAttribute Properties
OracleArrayMappingAttribute
properties are listed in Table 16-17.
Table 16-17 OracleArrayMappingAttribute Properties
Property | Description |
---|---|
|
Inherited from |
OracleArrayMappingAttribute Methods
OracleArrayMappingAttribute
methods are listed in Table 16-18.
Table 16-18 OracleArrayMappingAttribute Methods
Method | Description |
---|---|
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
OracleArrayMappingAttribute
constructors create new instances of the OracleArrayMappingAttribute
class.
This constructor creates and initializes an OracleArrayMappingAttribute
object.
See Also:
This constructor creates and initializes an OracleArrayMappingAttribute
object.
// C# public OracleArrayMappingAttribute();
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 are listed in Table 16-19.
Table 16-19 OracleArrayMappingAttribute Static Methods
Method | Description |
---|---|
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
OracleArrayMappingAttribute
properties are listed in Table 16-20.
OracleArrayMappingAttribute
methods are listed in Table 16-21.
Table 16-21 OracleArrayMappingAttribute Methods
Method | Description |
---|---|
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |