Share via


EdmActionImport Class

Definition

Represents an EDM action import.

public class EdmActionImport : Microsoft.OData.Edm.EdmOperationImport, Microsoft.OData.Edm.IEdmActionImport
type EdmActionImport = class
    inherit EdmOperationImport
    interface IEdmActionImport
    interface IEdmOperationImport
    interface IEdmEntityContainerElement
    interface IEdmNamedElement
    interface IEdmElement
    interface IEdmVocabularyAnnotatable
Public Class EdmActionImport
Inherits EdmOperationImport
Implements IEdmActionImport
Inheritance
Implements

Constructors

EdmActionImport(IEdmEntityContainer, String, IEdmAction, IEdmExpression)

Initializes a new instance of the EdmActionImport class.

EdmActionImport(IEdmEntityContainer, String, IEdmAction)

Initializes a new instance of the EdmActionImport class.

Properties

Action

Gets the action type of the import.

Container

Gets the container of this operation.

(Inherited from EdmOperationImport)
ContainerElementKind

Gets the kind of this actionimport, which is always ActionImport.

EntitySet

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

(Inherited from EdmOperationImport)
Name

Gets the name of this element.

(Inherited from EdmNamedElement)
Operation

Gets the operation.

(Inherited from EdmOperationImport)

Methods

OperationArgumentNullParameterName()

Indicates the name of the constructor argument that is passed to EdmOperationImport.

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