ResourceType.AddEntityPropertyMappingAttribute 方法
添加资源类型的 EntityPropertyMappingAttribute。
命名空间: System.Data.Services.Providers
程序集: Microsoft.Data.Services(在 Microsoft.Data.Services.dll 中)
语法
声明
Public Sub AddEntityPropertyMappingAttribute ( _
attribute As EntityPropertyMappingAttribute _
)
用法
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
)
参数
- attribute
类型:System.Data.Services.Common.EntityPropertyMappingAttribute
要添加的 EntityPropertyMappingAttribute。