ODataUtils.SaveODataAnnotations Method (IEdmModel)

Turns the in-memory representations of the supported, OData-specific annotations into their serializable form.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub SaveODataAnnotations ( _
    model As IEdmModel _
)
'Usage
Dim model As IEdmModel 

model.SaveODataAnnotations()
public static void SaveODataAnnotations(
    this IEdmModel model
)
[ExtensionAttribute]
public:
static void SaveODataAnnotations(
    IEdmModel^ model
)
static member SaveODataAnnotations : 
        model:IEdmModel -> unit
public static function SaveODataAnnotations(
    model : IEdmModel
)

Parameters

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.113) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.113).

See Also

Reference

ODataUtils Class

SaveODataAnnotations Overload

Microsoft.Data.OData Namespace