DbExpressionBuilder.Bind メソッド
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
生成された変数名を使用して指定した式をバインドする新しい DbExpressionBinding を作成します。
名前空間: System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
<ExtensionAttribute> _
Public Shared Function Bind ( _
input As DbExpression _
) As DbExpressionBinding
'使用
Dim input As DbExpression
Dim returnValue As DbExpressionBinding
returnValue = input.Bind()
public static DbExpressionBinding Bind(
this DbExpression input
)
[ExtensionAttribute]
public:
static DbExpressionBinding^ Bind(
DbExpression^ input
)
static member Bind :
input:DbExpression -> DbExpressionBinding
public static function Bind(
input : DbExpression
) : DbExpressionBinding
パラメーター
- input
型 : System.Data.Entity.Core.Common.CommandTrees.DbExpression
バインドする式。
戻り値
型 : System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding
指定された式と生成された変数名でバインドする新しい式。
使用上の注意
Visual Basic および Visual C# では、このメソッドを、DbExpression 型のオブジェクトのインスタンス メソッドとして呼び出すことができます。インスタンス メソッド構文を使用してこのメソッドを呼び出す場合は、最初のパラメーターを省略します。詳細については、「https://msdn.microsoft.com/ja-jp/library/bb384936(v=vs.113)」または「https://msdn.microsoft.com/ja-jp/library/bb383977(v=vs.113)」を参照してください。
例外
例外 | 状態 |
---|---|
ArgumentNullException | input が null です。 |
ArgumentException | input の結果型がコレクション型ではありません。 |
参照
参照
System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder 名前空間