DbExpressionBuilder.In メソッド

定義

DbInExpression指定した式の結果と、指定したリスト内の定数式の結果と一致する を作成します。

public static System.Data.Entity.Core.Common.CommandTrees.DbInExpression In (this System.Data.Entity.Core.Common.CommandTrees.DbExpression expression, System.Collections.Generic.IList<System.Data.Entity.Core.Common.CommandTrees.DbConstantExpression> list);
static member In : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Collections.Generic.IList<System.Data.Entity.Core.Common.CommandTrees.DbConstantExpression> -> System.Data.Entity.Core.Common.CommandTrees.DbInExpression
<Extension()>
Public Function In (expression As DbExpression, list As IList(Of DbConstantExpression)) As DbInExpression

パラメーター

expression
DbExpression

一致する DbExpression。

list
IList<DbConstantExpression>

一致をテストする DbConstantExpression の一覧。

戻り値

指定した引数を持つ新しい DbInExpression。

例外

expression またはlist が null です。

の結果の型expression は、 の式 listの結果の型とは異なります。

適用対象