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) |
建立 表示 IN 子查詢運算式之 InExpression 類別 |
InExpression(SqlExpression, SqlExpression, Boolean, RelationalTypeMapping) |
建立 類別的新實例 InExpression ,表示 |
InExpression(SqlExpression, Boolean, SelectExpression, RelationalTypeMapping) |
已淘汰.
建立 表示 IN 子查詢運算式之 InExpression 類別 |
InExpression(SqlExpression, Boolean, SqlExpression, RelationalTypeMapping) |
已淘汰.
建立 類別的新實例 InExpression ,表示 |
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)
建立 表示 IN 子查詢運算式之 InExpression 類別 item
的新實例。
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)
建立 類別的新實例 InExpression ,表示 item
IN 值運算式。
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.
建立 表示 IN 子查詢運算式之 InExpression 類別 item
的新實例。
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.
建立 類別的新實例 InExpression ,表示 item
IN 值運算式。
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與運算式相關聯的 。
- 屬性