Skip to main content

Definition

Assembly: Microsoft.OData.Edm.dll Namespace: Microsoft.OData.Edm

Syntax

Microsoft.OData.Edm.IEdmModel

Summary

This type is defined in Microsoft.OData.Edm.

Remarks

See Microsoft documentation for more information about the rest of the API.

Methods

GenerateConventionDefinitions Extension

Extension method from Microsoft.Restier.Breakdance.IEdmModelExtensions
Generates a list of detailed information about the expected Restier conventions for a given Api.

Syntax

public static System.Collections.Generic.List<Microsoft.Restier.Breakdance.RestierConventionDefinition> GenerateConventionDefinitions(Microsoft.OData.Edm.IEdmModel edmModel)

Parameters

NameTypeDescription
edmModelMicrosoft.OData.Edm.IEdmModelThe IEdmModel to use to generate the convention definitions list.

Returns

Type: System.Collections.Generic.List<Microsoft.Restier.Breakdance.RestierConventionDefinition> A List`1 containing detailed information about the expected Restier conventions.

GenerateConventionReport Extension

Extension method from Microsoft.Restier.Breakdance.IEdmModelExtensions
Generates a human-readable list of conventions for a Restier Api.

Syntax

public static string GenerateConventionReport(Microsoft.OData.Edm.IEdmModel edmModel, bool addTableSeparators = false)

Parameters

NameTypeDescription
edmModelMicrosoft.OData.Edm.IEdmModelThe IEdmModel to use to generate the conventions list.
addTableSeparatorsboolA boolean specifying whether or not to add visual separators to the list.

Returns

Type: string