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。