Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Lädt die unterstützten, OData-spezifischen serialisierbaren Anmerkungen in ihre Darstellungen im Arbeitsspeicher.
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Sub LoadODataAnnotations ( _
model As IEdmModel, _
entityType As IEdmEntityType, _
maxEntityPropertyMappingsPerType As Integer _
)
'Usage
Dim model As IEdmModel
Dim entityType As IEdmEntityType
Dim maxEntityPropertyMappingsPerType As Integer
model.LoadODataAnnotations(entityType, _
maxEntityPropertyMappingsPerType)
public static void LoadODataAnnotations(
this IEdmModel model,
IEdmEntityType entityType,
int maxEntityPropertyMappingsPerType
)
[ExtensionAttribute]
public:
static void LoadODataAnnotations(
IEdmModel^ model,
IEdmEntityType^ entityType,
int maxEntityPropertyMappingsPerType
)
static member LoadODataAnnotations :
model:IEdmModel *
entityType:IEdmEntityType *
maxEntityPropertyMappingsPerType:int -> unit
public static function LoadODataAnnotations(
model : IEdmModel,
entityType : IEdmEntityType,
maxEntityPropertyMappingsPerType : int
)
Parameter
- model
Typ: Microsoft.Data.Edm.IEdmModel
Das IEdmModel, das die Anmerkungen enthält.
- entityType
Typ: Microsoft.Data.Edm.IEdmEntityType
Der zu verarbeitende IEdmEntityType.
- maxEntityPropertyMappingsPerType
Typ: System.Int32
Die maximale Anzahl von Entitätszuordnungsattributen, die für einen Entitätstyp (für den Typ selbst und alle seine Basistypen) gesucht werden sollen.
Hinweis zur Verwendung
In Visual Basic und C# können Sie die Methode als Instanzenmethode für jedes Objekt vom Typ IEdmModel aufrufen. Wenn Sie Instanzmethodensyntax zum Aufruf dieser Methode verwenden, vernachlässigen Sie den ersten Parameter. Weitere Informationen finden Sie unter https://msdn.microsoft.com/de-de/library/bb384936(v=vs.103) oder https://msdn.microsoft.com/de-de/library/bb383977(v=vs.103).