EdmFunctionImport Class
Represents an EDM function import.
Inheritance Hierarchy
System.Object
Microsoft.Data.Edm.Library.EdmElement
Microsoft.Data.Edm.Library.EdmNamedElement
Microsoft.Data.Edm.Library.EdmFunctionBase
Microsoft.Data.Edm.Library.EdmFunctionImport
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Class EdmFunctionImport _
Inherits EdmFunctionBase _
Implements IEdmFunctionImport, IEdmFunctionBase, IEdmEntityContainerElement, IEdmNamedElement, _
IEdmVocabularyAnnotatable, IEdmElement
'Usage
Dim instance As EdmFunctionImport
public class EdmFunctionImport : EdmFunctionBase,
IEdmFunctionImport, IEdmFunctionBase, IEdmEntityContainerElement, IEdmNamedElement, IEdmVocabularyAnnotatable,
IEdmElement
public ref class EdmFunctionImport : public EdmFunctionBase,
IEdmFunctionImport, IEdmFunctionBase, IEdmEntityContainerElement, IEdmNamedElement, IEdmVocabularyAnnotatable,
IEdmElement
type EdmFunctionImport =
class
inherit EdmFunctionBase
interface IEdmFunctionImport
interface IEdmFunctionBase
interface IEdmEntityContainerElement
interface IEdmNamedElement
interface IEdmVocabularyAnnotatable
interface IEdmElement
end
public class EdmFunctionImport extends EdmFunctionBase implements IEdmFunctionImport, IEdmFunctionBase, IEdmEntityContainerElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
The EdmFunctionImport type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EdmFunctionImport(IEdmEntityContainer, String, IEdmTypeReference) | Initializes a new instance of EdmFunctionImport class (side-effecting, non-composable, non-bindable). | |
EdmFunctionImport(IEdmEntityContainer, String, IEdmTypeReference, IEdmExpression) | Initializes a new instance of EdmFunctionImport class (side-effecting, non-composable, non-bindable). | |
EdmFunctionImport(IEdmEntityContainer, String, IEdmTypeReference, IEdmExpression, Boolean, Boolean, Boolean) | Initializes a new instance of EdmFunctionImport class. |
Top
Properties
Name | Description | |
---|---|---|
Container | Gets the container of this function. | |
ContainerElementKind | Gets the container element kind. | |
EntitySet | Gets the entity set associated with this function. | |
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 EdmNamedElement.) | |
Parameters | Gets the parameters of this function. (Inherited from EdmFunctionBase.) | |
ReturnType | Gets the return type of this function. (Inherited from EdmFunctionBase.) |
Top
Methods
Name | Description | |
---|---|---|
AddParameter(IEdmFunctionParameter) | Adds a parameter to this function (as the last parameter). (Inherited from EdmFunctionBase.) | |
AddParameter(String, IEdmTypeReference) | Adds a parameter to this function (as the last parameter). (Inherited from EdmFunctionBase.) | |
AddParameter(String, IEdmTypeReference, EdmFunctionParameterMode) | Creates and adds a parameter to this function (as the last parameter). (Inherited from EdmFunctionBase.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FindParameter | Searches for a parameter with the given name in this function and returns null if no such parameter exists. (Inherited from EdmFunctionBase.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
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
Remarks
No content here will be updated; please do not add material here.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.