共用方式為


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
)

參數

請參閱

參考

ResourceType 類別

System.Data.Services.Providers 命名空間