Udostępnij za pośrednictwem


ResourceType.AddEntityPropertyMappingAttribute Method

Adds an EntityPropertyMappingAttribute for the resource type.

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Sub AddEntityPropertyMappingAttribute ( _
    attribute As EntityPropertyMappingAttribute _
)
'Usage
Dim instance As ResourceType 
Dim attribute As EntityPropertyMappingAttribute

instance.AddEntityPropertyMappingAttribute(attribute)
public void AddEntityPropertyMappingAttribute(
    EntityPropertyMappingAttribute attribute
)
public:
void AddEntityPropertyMappingAttribute(
    EntityPropertyMappingAttribute^ attribute
)
member AddEntityPropertyMappingAttribute : 
        attribute:EntityPropertyMappingAttribute -> unit
public function AddEntityPropertyMappingAttribute(
    attribute : EntityPropertyMappingAttribute
)

Parameters

See Also

Reference

ResourceType Class

System.Data.Services.Providers Namespace