ODataEntityPropertyMappingCollection Class

Represents an enumerable of EntityPropertyMappingAttribute that new items can be added to.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.Metadata.ODataEntityPropertyMappingCollection

Namespace:  Microsoft.Data.OData.Metadata
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public NotInheritable Class ODataEntityPropertyMappingCollection _
    Implements IEnumerable(Of EntityPropertyMappingAttribute), IEnumerable
'Usage
Dim instance As ODataEntityPropertyMappingCollection
public sealed class ODataEntityPropertyMappingCollection : IEnumerable<EntityPropertyMappingAttribute>, 
    IEnumerable
public ref class ODataEntityPropertyMappingCollection sealed : IEnumerable<EntityPropertyMappingAttribute^>, 
    IEnumerable
[<SealedAttribute>]
type ODataEntityPropertyMappingCollection =  
    class 
        interface IEnumerable<EntityPropertyMappingAttribute>
        interface IEnumerable 
    end
public final class ODataEntityPropertyMappingCollection implements IEnumerable<EntityPropertyMappingAttribute>, IEnumerable

The ODataEntityPropertyMappingCollection type exposes the following members.

Constructors

  Name Description
Public method ODataEntityPropertyMappingCollection() Creates a new instance of the ODataEntityPropertyMappingCollection class.
Public method ODataEntityPropertyMappingCollection(IEnumerable<EntityPropertyMappingAttribute>) Creates a new instance of the ODataEntityPropertyMappingCollection class.

Top

Methods

  Name Description
Public method Add Adds the mapping to the list of all mappings represented by this class.
Public method Equals (Inherited from Object.)
Public method GetEnumerator Returns an enumerator for the EntityPropertyMappingAttribute instances in this enumerable.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns a non-generic enumerator for the EntityPropertyMappingAttribute instances in this enumerable.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.OData.Metadata Namespace