Jaa


EdmOperationImport Class

Definition

Represents an EDM operation import.

public abstract class EdmOperationImport : Microsoft.OData.Edm.EdmNamedElement, Microsoft.OData.Edm.IEdmOperationImport
type EdmOperationImport = class
    inherit EdmNamedElement
    interface IEdmOperationImport
    interface IEdmEntityContainerElement
    interface IEdmNamedElement
    interface IEdmElement
    interface IEdmVocabularyAnnotatable
Public MustInherit Class EdmOperationImport
Inherits EdmNamedElement
Implements IEdmOperationImport
Inheritance
EdmOperationImport
Derived
Implements

Constructors

EdmOperationImport(IEdmEntityContainer, IEdmOperation, String, IEdmExpression)

Initializes a new instance of EdmOperationImport class.

Properties

Container

Gets the container of this operation.

ContainerElementKind

Gets the kind of this operation, which is always FunctionImport.

EntitySet

Gets the entity set containing entities returned by this operation import.

Name

Gets the name of this element.

(Inherited from EdmNamedElement)
Operation

Gets the operation.

Methods

OperationArgumentNullParameterName()

Operations the name of the argument null parameter.

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.

IsActionImport(IEdmOperationImport)

Determines whether [is action import] [the specified operation import].

IsFunctionImport(IEdmOperationImport)

Determines whether [is function import] [the specified operation import].

Location(IEdmElement)

Gets the location of this element.

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

Analyzes IEdmOperationImport.EntitySet expression and returns a relative path to an IEdmEntitySet if available. The path starts with the parameter and may have optional sequence of IEdmNavigationProperty and type casts segments.

TryGetStaticEntitySet(IEdmOperationImport, IEdmModel, IEdmEntitySetBase)

Analyzes IEdmOperationImport.EntitySet expression and returns a static IEdmEntitySet reference if available.

VocabularyAnnotations(IEdmVocabularyAnnotatable, IEdmModel)

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

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