Méthode ResourceType.AddEntityPropertyMappingAttribute
Ajoute un EntityPropertyMappingAttribute pour le type de ressource.
Espace de noms : System.Data.Services.Providers
Assembly : Microsoft.Data.Services (en Microsoft.Data.Services.dll)
Syntaxe
'Déclaration
Public Sub AddEntityPropertyMappingAttribute ( _
attribute As EntityPropertyMappingAttribute _
)
'Utilisation
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
)
Paramètres
- attribute
Type : System.Data.Services.Common.EntityPropertyMappingAttribute
EntityPropertyMappingAttribute à ajouter.