Delen via


ODataUtils.GenerateServiceDocument(IEdmModel) Method

Definition

Generate a default ODataServiceDocument instance from model.

public static Microsoft.OData.ODataServiceDocument GenerateServiceDocument (this Microsoft.OData.Edm.IEdmModel model);
static member GenerateServiceDocument : Microsoft.OData.Edm.IEdmModel -> Microsoft.OData.ODataServiceDocument
<Extension()>
Public Function GenerateServiceDocument (model As IEdmModel) As ODataServiceDocument

Parameters

model
IEdmModel

The Edm Model frm which to generate the service document.

Returns

The generated service document.

Applies to