ODataUtils.LoadODataAnnotations Method (IEdmModel, IEdmEntityType)
Loads the supported, OData-specific serializable annotations into their in-memory representations.
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
)
Parameters
- model
Type: Microsoft.Data.Edm.IEdmModel
The IEdmModel containing the annotations.
- entityType
Type: Microsoft.Data.Edm.IEdmEntityType
The IEdmEntityType to process.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).