Jaa


EdmFunctionImport Class

Definition

Represents an EDM function import.

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

Constructors

EdmFunctionImport(IEdmEntityContainer, String, IEdmFunction, IEdmExpression, Boolean)

Initializes a new instance of the EdmFunctionImport class.

EdmFunctionImport(IEdmEntityContainer, String, IEdmFunction)

Initializes a new instance of the EdmFunctionImport class.

Properties

Container

Gets the container of this operation.

(Inherited from EdmOperationImport)
ContainerElementKind

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

EntitySet

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

(Inherited from EdmOperationImport)
Function

Gets the function that defines the function import.

IncludeInServiceDocument

Gets a value indicating whether [include in service document].

Name

Gets the name of this element.

(Inherited from EdmNamedElement)
Operation

Gets the operation.

(Inherited from EdmOperationImport)

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