ActionConfiguration Class
ActionConfiguration represents an OData action that you wish to expose via your service.
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.OData.Builder.ProcedureConfiguration
System.Web.OData.Builder.ActionConfiguration
Syntax
public class ActionConfiguration : ProcedureConfiguration
public ref class ActionConfiguration : ProcedureConfiguration
type ActionConfiguration =
class
inherit ProcedureConfiguration
end
Public Class ActionConfiguration
Inherits ProcedureConfiguration
Properties
Name | Description | |
---|---|---|
BindingParameter | Gets the binding parameter.(Inherited from ProcedureConfiguration.) |
|
EntitySetPath | The EntitySetPathExpression that entities are returned from.(Inherited from ProcedureConfiguration.) |
|
FollowsConventions | Gets a value indicating whether procedure links follow OData conventions.(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.) |
|
IsBindable | Can the procedure be bound to a url representing the BindingParameter.(Inherited from ProcedureConfiguration.) |
|
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 | (Overrides ProcedureConfiguration.IsSideEffecting.) |
|
Kind | Gets the Kind of procedure, which can be either Action, Function or ServiceOperation.(Overrides ProcedureConfiguration.Kind.) |
|
LinkFactory | Gets or sets the currently registered procedure link factory.(Inherited from ProcedureConfiguration.) |
|
ModelBuilder | Gets or sets the ODataModelBuilder used to create this configuration.(Inherited from ProcedureConfiguration.) |
|
Name | The Name of the procedure(Inherited from ProcedureConfiguration.) |
|
Namespace | The Namespace by default is the ModelBuilder's Namespace. (Inherited from ProcedureConfiguration.) |
|
NavigationSource | The Navigation Source that are returned from.(Inherited from ProcedureConfiguration.) |
|
OptionalReturn | Gets or sets a value indicating whether the return is optional or not. (Inherited from ProcedureConfiguration.) |
|
Parameters | The parameters the procedure takes(Inherited from ProcedureConfiguration.) |
|
ReturnType | The type returned when the procedure is invoked.(Inherited from ProcedureConfiguration.) |
|
Title | The Title of the procedure. When customized, the title of the procedure will be sent back when the OData client asks for an entity or a feed in JSON full metadata.(Inherited from ProcedureConfiguration.) |
Methods
Name | Description | |
---|---|---|
AddParameter(String, IEdmTypeConfiguration) | Adds a new non-binding parameter.(Inherited from ProcedureConfiguration.) |
|
CollectionEntityParameter<TElementEntityType>(String) | Adds a new non-binding collection of entity type parameter. (Inherited from ProcedureConfiguration.) |
|
CollectionParameter<TElementType>(String) | Adds a new non-binding collection parameter(Inherited from ProcedureConfiguration.) |
|
EntityParameter<TEntityType>(String) | Adds a new non-binding entity type parameter. (Inherited from ProcedureConfiguration.) |
|
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(Inherited from ProcedureConfiguration.) |
|
Returns<TReturnType>() | Established the return type of the Action. |
|
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 EntityType instances. |
|
ReturnsCollectionViaEntitySetPath<TElementEntityType>(String) | Sets the return type to a collection of EntityType instances. |
|
ReturnsCollectionViaEntitySetPath<TElementEntityType>(String[]) | Sets the return type to a collection of EntityType instances. |
|
ReturnsEntityViaEntitySetPath<TEntityType>(String) | Sets the return type to a single EntityType instance. |
|
ReturnsEntityViaEntitySetPath<TEntityType>(String[]) | Sets the return type to a single EntityType instance. |
|
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) | Specifies the bindingParameter name, type and whether it is alwaysBindable, use only if the Action "isBindable". |
|
ToString() | (Inherited from Object.) |
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.Builder Namespace
Return to top