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 | |
---|---|---|
Container | Gets the container that contains this element. (Inherited from IEdmEntityContainerElement.) | |
ContainerElementKind | Gets the EDM container element type. (Inherited from IEdmEntityContainerElement.) | |
EntitySet | Gets the entity set where the result of this function import will be contained in. | |
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. | |
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. | |
IsSideEffecting | Gets a value indicating whether this function import has side-effects. IsSideEffecting cannot be set to true if IsComposable is set to true. | |
Name | Gets the name of this element. (Inherited from IEdmNamedElement.) | |
Parameters | Gets the collection of parameters for this function. (Inherited from IEdmFunctionBase.) | |
ReturnType | Gets the return type of this function. (Inherited from IEdmFunctionBase.) |
Top
Methods
Name | Description | |
---|---|---|
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 | |
---|---|---|
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.) | |
IsBad | Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.) | |
Location | Gets the location of the specified item. (Defined by ExtensionMethods.) | |
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.) | |
TryGetStaticEntitySet | Analyzes IEdmFunctionImport.EntitySet expression and returns a static IEdmFunctionImport reference if available. (Defined by ExtensionMethods.) | |
VocabularyAnnotations | Gets an annotatable element's vocabulary annotations as seen from a particular model. (Defined by ExtensionMethods.) |
Top