Share via


IEdmFunctionImport Interface

Represents an EDM function import.

Namespace:  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Interface IEdmFunctionImport _
    Inherits IEdmFunctionBase, IEdmEntityContainerElement, IEdmNamedElement, IEdmVocabularyAnnotatable,  _
    IEdmElement
'Usage
Dim instance As IEdmFunctionImport
public interface IEdmFunctionImport : IEdmFunctionBase, 
    IEdmEntityContainerElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
public interface class IEdmFunctionImport : IEdmFunctionBase, 
    IEdmEntityContainerElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
type IEdmFunctionImport =  
    interface 
        interface IEdmFunctionBase 
        interface IEdmEntityContainerElement 
        interface IEdmNamedElement 
        interface IEdmVocabularyAnnotatable 
        interface IEdmElement 
    end
public interface IEdmFunctionImport extends IEdmFunctionBase, IEdmEntityContainerElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement

The IEdmFunctionImport type exposes the following members.

Properties

  Name Description
Public property Container Gets the container that contains this element. (Inherited from IEdmEntityContainerElement.)
Public property ContainerElementKind Gets the EDM container element type. (Inherited from IEdmEntityContainerElement.)
Public property EntitySet Gets the entity set where the result of this function import will be contained in.
Public property IsBindable Gets a value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import.
Public property IsComposable Gets a value indicating whether this functon import can be composed inside expressions. IsComposable cannot be set to true if IsSideEffecting is set to true.
Public property IsSideEffecting Gets a value indicating whether this function import has side-effects. IsSideEffecting cannot be set to true if IsComposable is set to true.
Public property Name Gets the name of this element. (Inherited from IEdmNamedElement.)
Public property Parameters Gets the collection of parameters for this function. (Inherited from IEdmFunctionBase.)
Public property ReturnType Gets the return type of this function. (Inherited from IEdmFunctionBase.)

Top

Methods

  Name Description
Public method FindParameter Searches for a parameter with the given name, and returns null if no such parameter exists. (Inherited from IEdmFunctionBase.)

Top

Extension Methods

  Name Description
Public Extension Method Errors 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. (Defined by ValidationExtensionMethods.)
Public Extension Method IsBad Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.)
Public Extension Method Location Gets the location of the specified item. (Defined by ExtensionMethods.)
Public Extension Method TryGetRelativeEntitySetPath Analyzes IEdmFunctionImport.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. (Defined by ExtensionMethods.)
Public Extension Method TryGetStaticEntitySet Analyzes IEdmFunctionImport.EntitySet expression and returns a static IEdmFunctionImport reference if available. (Defined by ExtensionMethods.)
Public Extension Method VocabularyAnnotations Gets an annotatable element's vocabulary annotations as seen from a particular model. (Defined by ExtensionMethods.)

Top

See Also

Reference

Microsoft.Data.Edm Namespace