Freigeben über


ODataUtils.LoadODataAnnotations-Methode (IEdmModel, IEdmEntityType)

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 _
)
'Usage
Dim model As IEdmModel
Dim entityType As IEdmEntityType

model.LoadODataAnnotations(entityType)
public static void LoadODataAnnotations(
    this IEdmModel model,
    IEdmEntityType entityType
)
[ExtensionAttribute]
public:
static void LoadODataAnnotations(
    IEdmModel^ model, 
    IEdmEntityType^ entityType
)
static member LoadODataAnnotations : 
        model:IEdmModel * 
        entityType:IEdmEntityType -> unit 
public static function LoadODataAnnotations(
    model : IEdmModel, 
    entityType : IEdmEntityType
)

Parameter

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