Share via


EdmModelExtensions Class

 

Provides extension methods for the IEdmModel interface.

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

Inheritance Hierarchy

System.Object
  System.Web.Http.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, IEdmFunctionImport)

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

System_CAPS_pubmethodSystem_CAPS_static GetEntitySetLinkBuilder(IEdmModel, IEdmEntitySet)

Gets the EntitySetLinkBuilderAnnotation to be used while generating self and navigation links for the given entity set.

System_CAPS_pubmethodSystem_CAPS_static SetActionLinkBuilder(IEdmModel, IEdmFunctionImport, ActionLinkBuilder)

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

System_CAPS_pubmethodSystem_CAPS_static SetEntitySetLinkBuilder(IEdmModel, IEdmEntitySet, EntitySetLinkBuilderAnnotation)

Sets the EntitySetLinkBuilderAnnotation to be used while generating self and navigation links for the given entity set.

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.Http.OData Namespace

Return to top