語言

SetOperationBase 類別

定義

一個表示兩個資料表來源之間集合操作的表達式。

此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。

[System.Runtime.CompilerServices.Nullable(0)]
public abstract class SetOperationBase : Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase
public abstract class SetOperationBase : Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase
[<System.Runtime.CompilerServices.Nullable(0)>]
type SetOperationBase = class
    inherit TableExpressionBase
type SetOperationBase = class
    inherit TableExpressionBase
Public MustInherit Class SetOperationBase
Inherits TableExpressionBase
繼承
SetOperationBase
衍生
屬性

建構函式

名稱 Description
SetOperationBase(String, SelectExpression, SelectExpression, Boolean, IEnumerable<IAnnotation>)

建立一個新的類別實例 SetOperationBase 。

SetOperationBase(String, SelectExpression, SelectExpression, Boolean, IReadOnlyDictionary<String,IAnnotation>)

建立一個新的類別實例 SetOperationBase 。

SetOperationBase(String, SelectExpression, SelectExpression, Boolean)

建立一個新的類別實例 SetOperationBase 。

屬性

名稱 Description
Alias

此表所指派的別名來源。

Alias

此表所指派的別名來源。

(繼承來源 TableExpressionBase)
Annotations

一組與此表表達式相關的索引註解集合。

(繼承來源 TableExpressionBase)
IsDistinct

布爾值表示結果是否會移除重複的列。

NodeType

一個表示兩個資料表來源之間集合操作的表達式。

此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。

(繼承來源 TableExpressionBase)
Source1

集合運算的第一個來源。

Source2

集合運算的第二個來源。

Type

一個表示兩個資料表來源之間集合操作的表達式。

此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。

(繼承來源 TableExpressionBase)

方法

名稱 Description
AddAnnotation(String, Object)

為此物件新增註解。 如果已有指定名稱的註解存在,則會拋出。

(繼承來源 TableExpressionBase)
Clone(String, ExpressionVisitor)

建立一個新的物件,該物件是目前實例的複製品。

(繼承來源 TableExpressionBase)
CreateWithAnnotations(IEnumerable<IAnnotation>)

建立一個像這樣的物件,並附上指定的註解。

(繼承來源 TableExpressionBase)
Equals(Object)

一個表示兩個資料表來源之間集合操作的表達式。

此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。

FindAnnotation(String)

取得帶有名字的註解,若不存在則回 null 傳。

(繼承來源 TableExpressionBase)
GetAnnotations()

取得目前物件的所有註解。

(繼承來源 TableExpressionBase)
GetHashCode()

一個表示兩個資料表來源之間集合操作的表達式。

此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。

GetRequiredAlias()

這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。

(繼承來源 TableExpressionBase)
Print(ExpressionPrinter)

利用 ExpressionPrinter建立給定表達式的可列印字串表示。

(繼承來源 TableExpressionBase)
PrintAnnotations(ExpressionPrinter)

使用 ExpressionPrinter。

(繼承來源 TableExpressionBase)
Quote()

引用這句話;也就是說,回傳一個表達式,當被評估時,會構造出與此表達式相同的表達式。 用於產生預編譯查詢的程式碼,重建此表達式。

(繼承來源 TableExpressionBase)
Update(SelectExpression, SelectExpression)

會建立一個新的表達式,類似這個,但使用提供的子節點。 如果所有子節點相同,則會回傳這個表達式。

VisitChildren(ExpressionVisitor)

一個表示兩個資料表來源之間集合操作的表達式。

此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。

(繼承來源 TableExpressionBase)
WithAlias(String)

回傳一份帶有新別名的當前 TableExpressionBase 檔案副本。

(繼承來源 TableExpressionBase)
WithAnnotations(IReadOnlyDictionary<String,IAnnotation>)

建立一個像這樣的物件,並附上指定的註解。

(繼承來源 TableExpressionBase)

明確介面實作

名稱 Description
IPrintableExpression.Print(ExpressionPrinter)

利用 ExpressionPrinter建立給定表達式的可列印字串表示。

(繼承來源 TableExpressionBase)

擴充方法

名稱 Description
UnwrapJoin(TableExpressionBase)

若給定 table 為 JoinExpressionBase,則返回其所連接的表格。 否則,返回 table。

適用於