InExpression 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
InExpression(SqlExpression, SelectExpression, RelationalTypeMapping) |
创建 类的新实例 InExpression ,表示具有子查询的 SQL |
InExpression(SqlExpression, SqlParameterExpression, RelationalTypeMapping) |
创建 类的新实例 InExpression ,表示具有给定参数化值列表的 SQL |
InExpression(SqlExpression, IReadOnlyList<SqlExpression>, RelationalTypeMapping) |
创建 类的新实例 InExpression ,表示具有给定值列表的 SQL |
InExpression(SqlExpression, SelectExpression, Boolean, RelationalTypeMapping) |
创建 表示 |
InExpression(SqlExpression, SqlExpression, Boolean, RelationalTypeMapping) |
创建 表示 |
InExpression(SqlExpression, Boolean, SelectExpression, RelationalTypeMapping) |
已过时.
创建 表示 |
InExpression(SqlExpression, Boolean, SqlExpression, RelationalTypeMapping) |
已过时.
创建 表示 |
InExpression(SqlExpression, SelectExpression, RelationalTypeMapping)
创建 类的新实例 InExpression ,表示具有子查询的 SQL IN
表达式。
public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression subquery, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Sub New (item As SqlExpression, subquery As SelectExpression, typeMapping As RelationalTypeMapping)
参数
- item
- SqlExpression
要查看值的项。
- subquery
- SelectExpression
在其中搜索项的子查询。
- typeMapping
- RelationalTypeMapping
与 RelationalTypeMapping 表达式关联的 。
适用于
InExpression(SqlExpression, SqlParameterExpression, RelationalTypeMapping)
创建 类的新实例 InExpression ,表示具有给定参数化值列表的 SQL IN
表达式。
public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression valuesParameter, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Sub New (item As SqlExpression, valuesParameter As SqlParameterExpression, typeMapping As RelationalTypeMapping)
参数
- item
- SqlExpression
要查看值的项。
- valuesParameter
- SqlParameterExpression
在其中搜索项的值的参数化列表。
- typeMapping
- RelationalTypeMapping
与 RelationalTypeMapping 表达式关联的 。
适用于
InExpression(SqlExpression, IReadOnlyList<SqlExpression>, RelationalTypeMapping)
创建 类的新实例 InExpression ,表示具有给定值列表的 SQL IN
表达式。
public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> values, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Sub New (item As SqlExpression, values As IReadOnlyList(Of SqlExpression), typeMapping As RelationalTypeMapping)
参数
- item
- SqlExpression
要查看值的项。
- values
- IReadOnlyList<SqlExpression>
在其中搜索项的值的列表。
- typeMapping
- RelationalTypeMapping
与 RelationalTypeMapping 表达式关联的 。
适用于
InExpression(SqlExpression, SelectExpression, Boolean, RelationalTypeMapping)
创建 表示 item
IN 子查询表达式的 InExpression 类的新实例。
public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression subquery, bool negated, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * bool * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Sub New (item As SqlExpression, subquery As SelectExpression, negated As Boolean, typeMapping As RelationalTypeMapping)
参数
- item
- SqlExpression
要查看值的项。
- subquery
- SelectExpression
在其中搜索项的子查询。
- negated
- Boolean
一个 值,该值指示该项应存在于值中还是不存在。
- typeMapping
- RelationalTypeMapping
与 RelationalTypeMapping 表达式关联的 。
适用于
InExpression(SqlExpression, SqlExpression, Boolean, RelationalTypeMapping)
创建 表示 item
IN 值表达式的 InExpression 类的新实例。
public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression values, bool negated, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * bool * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Sub New (item As SqlExpression, values As SqlExpression, negated As Boolean, typeMapping As RelationalTypeMapping)
参数
- item
- SqlExpression
要查看值的项。
- values
- SqlExpression
在其中搜索项的值的列表。
- negated
- Boolean
一个 值,该值指示该项应存在于值中还是不存在。
- typeMapping
- RelationalTypeMapping
与 RelationalTypeMapping 表达式关联的 。
适用于
InExpression(SqlExpression, Boolean, SelectExpression, RelationalTypeMapping)
注意
Use overload which passes negated argument after subquery argument.
创建 表示 item
IN 子查询表达式的 InExpression 类的新实例。
public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, bool negated, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression subquery, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
[System.Obsolete("Use overload which passes negated argument after subquery argument.")]
public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, bool negated, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression subquery, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
[System.Obsolete("Use overload which passes negated argument after subquery argument.")]
public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, bool negated, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression subquery, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * bool * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
[<System.Obsolete("Use overload which passes negated argument after subquery argument.")>]
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * bool * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Sub New (item As SqlExpression, negated As Boolean, subquery As SelectExpression, typeMapping As RelationalTypeMapping)
参数
- item
- SqlExpression
要查看值的项。
- negated
- Boolean
一个 值,该值指示该项应存在于值中还是不存在。
- subquery
- SelectExpression
在其中搜索项的子查询。
- typeMapping
- RelationalTypeMapping
与 RelationalTypeMapping 表达式关联的 。
- 属性
适用于
InExpression(SqlExpression, Boolean, SqlExpression, RelationalTypeMapping)
注意
Use overload which passes negated argument after values argument.
创建 表示 item
IN 值表达式的 InExpression 类的新实例。
public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, bool negated, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression values, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
[System.Obsolete("Use overload which passes negated argument after values argument.")]
public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, bool negated, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression values, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
[System.Obsolete("Use overload which passes negated argument after values argument.")]
public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, bool negated, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression values, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * bool * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
[<System.Obsolete("Use overload which passes negated argument after values argument.")>]
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * bool * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Sub New (item As SqlExpression, negated As Boolean, values As SqlExpression, typeMapping As RelationalTypeMapping)
参数
- item
- SqlExpression
要查看值的项。
- negated
- Boolean
一个 值,该值指示该项应存在于值中还是不存在。
- values
- SqlExpression
在其中搜索项的值的列表。
- typeMapping
- RelationalTypeMapping
与 RelationalTypeMapping 表达式关联的 。
- 属性