語言

DeleteExpression 類別

定義

一個表示 SQL 樹中 DELETE 操作的表達式。

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

[System.Diagnostics.DebuggerDisplay("{Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.Print(this), nq}")]
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class DeleteExpression : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression, Microsoft.EntityFrameworkCore.Query.IRelationalQuotableExpression
public sealed class DeleteExpression : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class DeleteExpression : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class DeleteExpression : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression, Microsoft.EntityFrameworkCore.Query.IRelationalQuotableExpression
[<System.Diagnostics.DebuggerDisplay("{Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.Print(this), nq}")>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type DeleteExpression = class
    inherit Expression
    interface IRelationalQuotableExpression
    interface IPrintableExpression
type DeleteExpression = class
    inherit Expression
    interface IPrintableExpression
[<System.Runtime.CompilerServices.Nullable(0)>]
type DeleteExpression = class
    inherit Expression
    interface IPrintableExpression
[<System.Runtime.CompilerServices.Nullable(0)>]
type DeleteExpression = class
    inherit Expression
    interface IRelationalQuotableExpression
    interface IPrintableExpression
Public NotInheritable Class DeleteExpression
Inherits Expression
Implements IPrintableExpression, IRelationalQuotableExpression
Public NotInheritable Class DeleteExpression
Inherits Expression
Implements IPrintableExpression
繼承
DeleteExpression
屬性
實作

建構函式

名稱 Description
DeleteExpression(TableExpression, SelectExpression, ISet<String>)

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

DeleteExpression(TableExpression, SelectExpression)

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

屬性

名稱 Description
NodeType

一個表示 SQL 樹中 DELETE 操作的表達式。

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

SelectExpression

選擇運算式用來決定要刪除哪些列。

Table

就是執行刪除操作的表格。

Tags

標籤列表適用於此 DeleteExpression。

Type

一個表示 SQL 樹中 DELETE 操作的表達式。

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

方法

名稱 Description
ApplyTags(ISet<String>)

套用一組標籤。

Equals(Object)

一個表示 SQL 樹中 DELETE 操作的表達式。

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

GetHashCode()

一個表示 SQL 樹中 DELETE 操作的表達式。

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

Print(ExpressionPrinter)

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

Quote()

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

Update(SelectExpression)

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

Update(TableExpression, SelectExpression)

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

適用於