TableExpressionBase 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
一個表示 SQL 樹中資料表來源的表達式。
此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。
[System.Diagnostics.DebuggerDisplay("{Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.Print(this), nq}")]
[System.Runtime.CompilerServices.Nullable(0)]
public abstract class TableExpressionBase : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression, Microsoft.EntityFrameworkCore.Query.IRelationalQuotableExpression
public abstract class TableExpressionBase : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression
[System.Diagnostics.DebuggerDisplay("{Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.Print(this), nq}")]
[System.Runtime.CompilerServices.Nullable(0)]
public abstract class TableExpressionBase : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression
[<System.Diagnostics.DebuggerDisplay("{Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.Print(this), nq}")>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type TableExpressionBase = class
inherit Expression
interface IRelationalQuotableExpression
interface IPrintableExpression
type TableExpressionBase = class
inherit Expression
interface IPrintableExpression
[<System.Diagnostics.DebuggerDisplay("{Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.Print(this), nq}")>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type TableExpressionBase = class
inherit Expression
interface IPrintableExpression
Public MustInherit Class TableExpressionBase
Inherits Expression
Implements IPrintableExpression, IRelationalQuotableExpression
Public MustInherit Class TableExpressionBase
Inherits Expression
Implements IPrintableExpression
- 繼承
-
TableExpressionBase
- 衍生
- 屬性
- 實作
建構函式
| 名稱 | Description |
|---|---|
| TableExpressionBase(String, IEnumerable<IAnnotation>) |
建立一個新的類別實例 TableExpressionBase 。 |
| TableExpressionBase(String, IReadOnlyDictionary<String,IAnnotation>) |
建立一個新的類別實例 TableExpressionBase 。 |
| TableExpressionBase(String) |
建立一個新的類別實例 TableExpressionBase 。 |
屬性
| 名稱 | Description |
|---|---|
| Alias |
此表所指派的別名來源。 |
| Annotations |
一組與此表表達式相關的索引註解集合。 |
| NodeType |
一個表示 SQL 樹中資料表來源的表達式。 此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。 |
| Type |
一個表示 SQL 樹中資料表來源的表達式。 此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。 |
方法
| 名稱 | Description |
|---|---|
| AddAnnotation(String, Object) |
為此物件新增註解。 如果已有指定名稱的註解存在,則會拋出。 |
| Clone(String, ExpressionVisitor) |
建立一個新的物件,該物件是目前實例的複製品。 |
| CreateWithAnnotations(IEnumerable<IAnnotation>) |
建立一個像這樣的物件,並附上指定的註解。 |
| Equals(Object) |
一個表示 SQL 樹中資料表來源的表達式。 此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。 |
| FindAnnotation(String) |
取得帶有名字的註解,若不存在則回 |
| GetAnnotations() |
取得目前物件的所有註解。 |
| GetHashCode() |
一個表示 SQL 樹中資料表來源的表達式。 此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。 |
| GetRequiredAlias() |
這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。 |
| Print(ExpressionPrinter) |
利用 ExpressionPrinter建立給定表達式的可列印字串表示。 |
| PrintAnnotations(ExpressionPrinter) | |
| Quote() |
引用這句話;也就是說,回傳一個表達式,當被評估時,會構造出與此表達式相同的表達式。 用於產生預編譯查詢的程式碼,重建此表達式。 |
| VisitChildren(ExpressionVisitor) |
一個表示 SQL 樹中資料表來源的表達式。 此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。 |
| WithAlias(String) |
回傳一份帶有新別名的當前 TableExpressionBase 檔案副本。 |
| WithAnnotations(IReadOnlyDictionary<String,IAnnotation>) |
建立一個像這樣的物件,並附上指定的註解。 |
明確介面實作
| 名稱 | Description |
|---|---|
| IPrintableExpression.Print(ExpressionPrinter) |
利用 ExpressionPrinter建立給定表達式的可列印字串表示。 |
擴充方法
| 名稱 | Description |
|---|---|
| UnwrapJoin(TableExpressionBase) |
若給定 |