DbExpressionBuilder.Lambda メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| Lambda(DbExpression, IEnumerable<DbVariableReferenceExpression>) |
指定されたインライン ラムダ関数の実装と仮パラメーターを使用して、DbLambda を作成します。 |
| Lambda(DbExpression, DbVariableReferenceExpression[]) |
指定されたインライン ラムダ関数の実装と仮パラメーターを使用して、DbLambda を作成します。 |
Lambda(DbExpression, IEnumerable<DbVariableReferenceExpression>)
指定されたインライン ラムダ関数の実装と仮パラメーターを使用して、DbLambda を作成します。
public static System.Data.Entity.Core.Common.CommandTrees.DbLambda Lambda(System.Data.Entity.Core.Common.CommandTrees.DbExpression body, System.Collections.Generic.IEnumerable<System.Data.Entity.Core.Common.CommandTrees.DbVariableReferenceExpression> variables);
static member Lambda : System.Data.Entity.Core.Common.CommandTrees.DbExpression * seq<System.Data.Entity.Core.Common.CommandTrees.DbVariableReferenceExpression> -> System.Data.Entity.Core.Common.CommandTrees.DbLambda
Public Function Lambda (body As DbExpression, variables As IEnumerable(Of DbVariableReferenceExpression)) As DbLambda
パラメーター
- body
- DbExpression
ラムダ関数のロジックを定義する式。
- variables
- IEnumerable<DbVariableReferenceExpression>
ラムダ関数の仮パラメーターを表す DbVariableReferenceExpression コレクション。 これらの変数は、body 式の中で使用できます。
戻り値
指定された本文と仮パラメーターを持つインラインラムダ関数を記述する新しい式。
例外
変数が null であるか、null が含まれているか、body が null です。
variables には、同じ変数名を持つ複数の要素が含まれています。
適用対象
Lambda(DbExpression, DbVariableReferenceExpression[])
指定されたインライン ラムダ関数の実装と仮パラメーターを使用して、DbLambda を作成します。
public static System.Data.Entity.Core.Common.CommandTrees.DbLambda Lambda(System.Data.Entity.Core.Common.CommandTrees.DbExpression body, params System.Data.Entity.Core.Common.CommandTrees.DbVariableReferenceExpression[] variables);
static member Lambda : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbVariableReferenceExpression[] -> System.Data.Entity.Core.Common.CommandTrees.DbLambda
Public Function Lambda (body As DbExpression, ParamArray variables As DbVariableReferenceExpression()) As DbLambda
パラメーター
- body
- DbExpression
ラムダ関数のロジックを定義する式。
- variables
- DbVariableReferenceExpression[]
ラムダ関数の仮パラメーターを表す DbVariableReferenceExpression コレクション。 これらの変数は、body 式の中で使用できます。
戻り値
指定された本文と仮パラメーターを持つインラインラムダ関数を記述する新しい式。
例外
変数が null であるか、null が含まれているか、body が null です。
variables には、同じ変数名を持つ複数の要素が含まれています。