関数インポートを作成しこのエンティティ コンテナーに追加します。
名前空間: Microsoft.Data.Edm.Library
アセンブリ: Microsoft.Data.Edm (Microsoft.Data.Edm.dll)
構文
'宣言
Public Overridable Function AddFunctionImport ( _
name As String, _
returnType As IEdmTypeReference, _
entitySet As IEdmExpression, _
sideEffecting As Boolean, _
composable As Boolean, _
bindable As Boolean _
) As EdmFunctionImport
'使用
Dim instance As EdmEntityContainer
Dim name As String
Dim returnType As IEdmTypeReference
Dim entitySet As IEdmExpression
Dim sideEffecting As Boolean
Dim composable As Boolean
Dim bindable As Boolean
Dim returnValue As EdmFunctionImport
returnValue = instance.AddFunctionImport(name, _
returnType, entitySet, sideEffecting, _
composable, bindable)
public virtual EdmFunctionImport AddFunctionImport(
string name,
IEdmTypeReference returnType,
IEdmExpression entitySet,
bool sideEffecting,
bool composable,
bool bindable
)
public:
virtual EdmFunctionImport^ AddFunctionImport(
String^ name,
IEdmTypeReference^ returnType,
IEdmExpression^ entitySet,
bool sideEffecting,
bool composable,
bool bindable
)
abstract AddFunctionImport :
name:string *
returnType:IEdmTypeReference *
entitySet:IEdmExpression *
sideEffecting:bool *
composable:bool *
bindable:bool -> EdmFunctionImport
override AddFunctionImport :
name:string *
returnType:IEdmTypeReference *
entitySet:IEdmExpression *
sideEffecting:bool *
composable:bool *
bindable:bool -> EdmFunctionImport
public function AddFunctionImport(
name : String,
returnType : IEdmTypeReference,
entitySet : IEdmExpression,
sideEffecting : boolean,
composable : boolean,
bindable : boolean
) : EdmFunctionImport
パラメーター
- name
型: System.String
関数インポートの名前。
- returnType
型: Microsoft.Data.Edm.IEdmTypeReference
関数インポートの戻り値の型。
- entitySet
型: Microsoft.Data.Edm.Expressions.IEdmExpression
この関数インポートによって返されるエンティティを含むエンティティ セット。サポートされている 2 つの式の種類は IEdmEntitySetReferenceExpression と IEdmPathExpression です。
- sideEffecting
型: System.Boolean
この関数インポートに副作用がある場合は true、それ以外の場合は false。
- composable
型: System.Boolean
この関数インポートを式内で構成できる場合は true、それ以外の場合は false。
- bindable
型: System.Boolean
この関数インポートをこの関数インポートの最初のパラメーターの型の拡張メソッドとして使用できる場合は true、それ以外の場合は false。
戻り値
型: Microsoft.Data.Edm.Library.EdmFunctionImport
作成された関数インポート。