Partilhar via


ODataEntityPropertyMappingCollection.Add Method

Adds the mapping to the list of all mappings represented by this class.

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

Syntax

'Declaration
Public Sub Add ( _
    mapping As EntityPropertyMappingAttribute _
)
'Usage
Dim instance As ODataEntityPropertyMappingCollection 
Dim mapping As EntityPropertyMappingAttribute

instance.Add(mapping)
public void Add(
    EntityPropertyMappingAttribute mapping
)
public:
void Add(
    EntityPropertyMappingAttribute^ mapping
)
member Add : 
        mapping:EntityPropertyMappingAttribute -> unit
public function Add(
    mapping : EntityPropertyMappingAttribute
)

Parameters

See Also

Reference

ODataEntityPropertyMappingCollection Class

Microsoft.Data.OData.Metadata Namespace