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
- mapping
Type: System.Data.Services.Common.EntityPropertyMappingAttribute
The EntityPropertyMappingAttribute to add to the enumerable represented by this class.