Share via


IEdmOperation Interface

Definition

Represents an EDM operation.

public interface IEdmOperation : Microsoft.OData.Edm.IEdmSchemaElement
type IEdmOperation = interface
    interface IEdmSchemaElement
    interface IEdmNamedElement
    interface IEdmElement
    interface IEdmVocabularyAnnotatable
Public Interface IEdmOperation
Implements IEdmSchemaElement
Derived
Implements

Properties

EntitySetPath

Gets the entity set path expression.

IsBound

Gets a value indicating whether this instance is bound.

Name

Gets the name of this element.

(Inherited from IEdmNamedElement)
Namespace

Gets the namespace this schema element belongs to.

(Inherited from IEdmSchemaElement)
Parameters

Gets the collection of parameters for this operation.

ReturnType

Gets the return type of this operation.

SchemaElementKind

Gets the kind of this schema element.

(Inherited from IEdmSchemaElement)

Methods

FindParameter(String)

Searches for a parameter with the given name, and returns null if no such parameter exists.

Extension Methods

GetSymbolicString(IEdmVocabularyAnnotatable)

Gets the symbolic string of an annotated element. In the next breaking change, it's better to add a property into IEdmVocabularyAnnotatable.

FullName(IEdmSchemaElement)

Gets the full name of the element.

GetReturn(IEdmOperation)

Gets the IEdmOperationReturn from the specified operation.

HasEquivalentBindingType(IEdmOperation, IEdmType)

Determines whether the bound operation's binding type is equivalent to the specified binding type.

IsAction(IEdmOperation)

Determines whether the specified operation is action.

IsFunction(IEdmOperation)

Determines whether the specified operation is function.

Location(IEdmElement)

Gets the location of this element.

ShortQualifiedName(IEdmSchemaElement)

Gets the Short Qualified name of the element.

TryGetRelativeEntitySetPath(IEdmOperation, IEdmModel, IEdmOperationParameter, Dictionary<IEdmNavigationProperty,IEdmPathExpression>, IEdmEntityType, IEnumerable<EdmError>)

Tries to get the relative entity set path.

VocabularyAnnotations(IEdmVocabularyAnnotatable, IEdmModel)

Gets an annotatable element's vocabulary annotations as seen from a particular model.

ToTraceString(IEdmSchemaElement)

Returns the text representation of the current object.

Errors(IEdmElement)

Gets the errors, if any, that belong to this element or elements that this element contains. For example errors for a structural type include the errors of the type itself and errors of its declared properties. The method does not analyze elements referenced by this element. For example errors of a property do not include errors from its type.

IsBad(IEdmElement)

Returns true if this element contains errors returned by the Errors(IEdmElement) method.

Applies to