SerializationExtensionMethods.SetMaxDataServiceVersion Method

Sets the version of the maximum data service for a navigation property of an entity set.

Namespace:  Microsoft.Data.Edm.Csdl
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub SetMaxDataServiceVersion ( _
    model As IEdmModel, _
    version As Version _
)
'Usage
Dim model As IEdmModel 
Dim version As Version 

model.SetMaxDataServiceVersion(version)
public static void SetMaxDataServiceVersion(
    this IEdmModel model,
    Version version
)
[ExtensionAttribute]
public:
static void SetMaxDataServiceVersion(
    IEdmModel^ model, 
    Version^ version
)
static member SetMaxDataServiceVersion : 
        model:IEdmModel * 
        version:Version -> unit
public static function SetMaxDataServiceVersion(
    model : IEdmModel, 
    version : Version
)

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

See Also

Reference

SerializationExtensionMethods Class

Microsoft.Data.Edm.Csdl Namespace