Share via


OperationConfiguration Class

Definition

Represents a Operation that is exposed in the model

public abstract class OperationConfiguration
type OperationConfiguration = class
Public MustInherit Class OperationConfiguration
Inheritance
OperationConfiguration
Derived

Properties

BindingParameter

Get the bindingParameter. Null means the operation has no bindingParameter.

EntitySetPath

The EntitySetPathExpression that entities are returned from.

FollowsConventions

Gets a value indicating whether operation links follow OData conventions.

FullyQualifiedName

The FullyQualifiedName is the Name further qualified using the Namespace.

IsBindable

Can the operation be bound to a URL representing the BindingParameter.

IsComposable

Can the operation be composed upon.

For example can a URL that invokes the operation be used as the base URL for a request that invokes the operation and does something else with the results

IsSideEffecting

Does the operation have side-effects.

Kind

The Kind of operation, which can be either Action or Function

ModelBuilder

Gets or sets the ODataModelBuilder used to create this configuration.

Name

The Name of the operation

Namespace

The Namespace by default is the ModelBuilder's Namespace.

NavigationSource

The Navigation Source that are returned from.

OperationLinkBuilder

Gets or sets the currently registered operation link builder.

Parameters

The parameters the operation takes

ReturnNullable

Gets or sets a value indicating whether the return is nullable or not.

ReturnType

The type returned when the operation is invoked.

ReturnTypeConstraints

Type constraints for the return type of the operation.

Title

The Title of the operation. When customized, the title of the operation will be sent back when the OData client asks for an entity or a feed in JSON full metadata.

Methods

AddParameter(String, IEdmTypeConfiguration)

Adds a new non-binding parameter.

CollectionEntityParameter(Type, String)

Adds a new non-binding collection of entity type parameter.

CollectionEntityParameter<TElementEntityType>(String)

Adds a new non-binding collection of entity type parameter.

CollectionParameter(Type, String)

Adds a new non-binding collection parameter

CollectionParameter<TElementType>(String)

Adds a new non-binding collection parameter

EntityParameter(Type, String)

Adds a new non-binding entity type parameter.

EntityParameter<TEntityType>(String)

Adds a new non-binding entity type parameter.

Parameter(Type, String)

Adds a new non-binding parameter

Parameter<TParameter>(String)

Adds a new non-binding parameter

Applies to