ODataUtils.GenerateServiceDocument(IEdmModel) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.