Freigeben über


ODataUtils.LoadODataAnnotations-Methode (IEdmModel, IEdmEntityType, Int32)

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

  • 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).

Siehe auch

Verweis

ODataUtils Klasse

LoadODataAnnotations-Überladung

Microsoft.Data.OData-Namespace