ActionConfiguration Class
ActionConfiguration represents an OData action that you wish to expose via your service.
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
System.Web.Http.OData.Builder::ProcedureConfiguration
System.Web.Http.OData.Builder::ActionConfiguration
| Name | Description | |
|---|---|---|
![]() | BindingParameter | Get the bindingParameter. Null means the Action has no bindingParameter. |
![]() | ContainerQualifiedName | The qualified name of the procedure when used in OData urls. Qualification is required to distinguish the procedure from other possible single part identifiers. (Inherited from ProcedureConfiguration.) |
![]() | EntitySet | The EntitySet that entities are returned from. (Inherited from ProcedureConfiguration.) |
![]() | FollowsConventions | Gets a value indicating whether links provided by GetActionLink follow OData conventions. |
![]() | FullName | The FullName is the ContainerQualifiedName. (Inherited from ProcedureConfiguration.) |
![]() | FullyQualifiedName | The FullyQualifiedName is the ContainerQualifiedName further qualified using the Namespace. Typically this is not required, because most services have at most one container with the same name. (Inherited from ProcedureConfiguration.) |
![]() | IsAlwaysBindable | Whether this action can always be bound.
For example imagine an Watch action that can be bound to a Movie, it might not always be possible to Watch a movie,
in which case IsAlwaysBindable would return false.
(Overrides ProcedureConfiguration::IsAlwaysBindable.) |
![]() | IsBindable | (Overrides ProcedureConfiguration::IsBindable.) |
![]() | IsComposable | Can the procedure be composed upon. For example can a URL that invokes the procedure be used as the base url for a request that invokes the procedure and does something else with the results (Inherited from ProcedureConfiguration.) |
![]() | IsSideEffecting | Does the procedure have side-effects. (Inherited from ProcedureConfiguration.) |
![]() | Kind | (Overrides ProcedureConfiguration::Kind.) |
![]() | ModelBuilder | Gets or sets the ODataModelBuilder used to create this configuration. (Inherited from ProcedureConfiguration.) |
![]() | Name | The Name of the procedure (Inherited from ProcedureConfiguration.) |
![]() | Parameters | (Overrides ProcedureConfiguration::Parameters.) |
![]() | ReturnType | The type returned when the procedure is invoked. (Inherited from ProcedureConfiguration.) |
| Name | Description | |
|---|---|---|
![]() | AddParameter(String^, IEdmTypeConfiguration^) | Adds a new non-binding parameter. |
![]() | CollectionParameter<TElementType>(String^) | Adds a new non-binding collection parameter |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetActionLink() | Retrieves the currently registered action link factory. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | HasActionLink(Func<EntityInstanceContext^, Uri^>^, Boolean) | Register a factory that creates actions links. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Parameter<TParameter>(String^) | Adds a new non-binding parameter |
![]() | Returns<TReturnType>() | Established the return type of the Action. Used when the return type is a single Primitive or ComplexType. |
![]() | ReturnsCollection<TReturnElementType>() | Establishes the return type of the Action Used when the return type is a collection of either Primitive or ComplexTypes. |
![]() | ReturnsCollectionFromEntitySet<TElementEntityType>(EntitySetConfiguration<TElementEntityType>^) | Sets the return type to a collection of entities. |
![]() | ReturnsCollectionFromEntitySet<TElementEntityType>(String^) | Sets the return type to a collection of entities. |
![]() | ReturnsFromEntitySet<TEntityType>(EntitySetConfiguration<TEntityType>^) | Sets the return type to a single EntityType instance. |
![]() | ReturnsFromEntitySet<TEntityType>(String^) | Sets the return type to a single EntityType instance. |
![]() | SetBindingParameter(String^, IEdmTypeConfiguration^, Boolean) | Specifies the bindingParameter name, type and whether it is alwaysBindable, use only if the Action "isBindable". |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



