Share via


EdmModelExtensions Class

 

Provides extension methods for the IEdmModel interface.

Namespace:   System.Web.OData
Assembly:  System.Web.OData (in System.Web.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.OData.EdmModelExtensions

Syntax

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static class EdmModelExtensions
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
public ref class EdmModelExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
type EdmModelExtensions = class end
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public NotInheritable Class EdmModelExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static GetActionLinkBuilder(IEdmModel, IEdmAction)

Gets the ActionLinkBuilder to be used while generating action links for the given action.

System_CAPS_pubmethodSystem_CAPS_static GetNavigationSourceLinkBuilder(IEdmModel, IEdmNavigationSource)

Gets the NavigationSourceLinkBuilderAnnotation to be used while generating self and navigation links for the given navigation source.

System_CAPS_pubmethodSystem_CAPS_static SetActionLinkBuilder(IEdmModel, IEdmAction, ActionLinkBuilder)

Sets the ActionLinkBuilder to be used for generating the OData action link for the given action.

System_CAPS_pubmethodSystem_CAPS_static SetFunctionLinkBuilder(IEdmModel, IEdmFunction, FunctionLinkBuilder)

Sets the FunctionLinkBuilder to be used for generating the OData function link for the given function.

System_CAPS_pubmethodSystem_CAPS_static SetNavigationSourceLinkBuilder(IEdmModel, IEdmNavigationSource, NavigationSourceLinkBuilderAnnotation)

Sets the NavigationSourceLinkBuilderAnnotation to be used while generating self and navigation links for the given navigation source.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.OData Namespace

Return to top