EdmFunctionImport Constructor (IEdmEntityContainer, String, IEdmTypeReference, IEdmExpression)
Initializes a new instance of EdmFunctionImport class (side-effecting, non-composable, non-bindable).
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Sub New ( _
container As IEdmEntityContainer, _
name As String, _
returnType As IEdmTypeReference, _
entitySet As IEdmExpression _
)
'Usage
Dim container As IEdmEntityContainer
Dim name As String
Dim returnType As IEdmTypeReference
Dim entitySet As IEdmExpression
Dim instance As New EdmFunctionImport(container, _
name, returnType, entitySet)
public EdmFunctionImport(
IEdmEntityContainer container,
string name,
IEdmTypeReference returnType,
IEdmExpression entitySet
)
public:
EdmFunctionImport(
IEdmEntityContainer^ container,
String^ name,
IEdmTypeReference^ returnType,
IEdmExpression^ entitySet
)
new :
container:IEdmEntityContainer *
name:string *
returnType:IEdmTypeReference *
entitySet:IEdmExpression -> EdmFunctionImport
public function EdmFunctionImport(
container : IEdmEntityContainer,
name : String,
returnType : IEdmTypeReference,
entitySet : IEdmExpression
)
Parameters
- container
Type: Microsoft.Data.Edm.IEdmEntityContainer
An IEdmEntityContainer containing this function import.
- name
Type: System.String
Name of the function import.
- returnType
Type: Microsoft.Data.Edm.IEdmTypeReference
Return type of the function import.
- entitySet
Type: Microsoft.Data.Edm.Expressions.IEdmExpression
An entity set containing entities returned by this function import. The two expression kinds supported are IEdmEntitySetReferenceExpression and IEdmPathExpression.