EdmModelExtensions Class

Provides extension methods for the IEdmModel interface.

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.EdmModelExtensions

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class EdmModelExtensions
'Usage
public static class EdmModelExtensions
[ExtensionAttribute]
public ref class EdmModelExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type EdmModelExtensions =  class end
public final class EdmModelExtensions

The EdmModelExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member GetActionLinkBuilder Gets the ActionLinkBuilder to be used while generating action links for the given action.
Public methodStatic member GetEntitySetLinkBuilder Gets the EntitySetLinkBuilderAnnotation to be used while generating self and navigation links for the given entity set.
Public methodStatic member SetActionLinkBuilder Sets the ActionLinkBuilder to be used for generating the OData action link for the given action.
Public methodStatic member SetEntitySetLinkBuilder Sets the EntitySetLinkBuilderAnnotation to be used while generating self and navigation links for the given entity set.

Top

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

Reference

System.Web.Http.OData Namespace