ValuesExpression 類別

定義

運算式,表示 SQL 中的常數資料表,有時稱為資料表值建構函式。

此類型通常由資料庫提供者 (和其他延伸模組) 使用。 它通常不會用於應用程式程式碼。

public class ValuesExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase, Microsoft.EntityFrameworkCore.Query.SqlExpressions.IClonableTableExpressionBase
type ValuesExpression = class
    inherit TableExpressionBase
    interface IClonableTableExpressionBase
Public Class ValuesExpression
Inherits TableExpressionBase
Implements IClonableTableExpressionBase
繼承
ValuesExpression
實作

建構函式

ValuesExpression(String, IReadOnlyList<RowValueExpression>, IReadOnlyList<String>, IEnumerable<IAnnotation>)

建立 ValuesExpression 類別的新執行個體。

屬性

Alias

指派給這個資料表來源的別名。

ColumnNames

此資料表中包含的資料行名稱。

NodeType

運算式,表示 SQL 中的常數資料表,有時稱為資料表值建構函式。

此類型通常由資料庫提供者 (和其他延伸模組) 使用。 它通常不會用於應用程式程式碼。

(繼承來源 TableExpressionBase)
RowValues

這個資料表的資料列值。

Type

運算式,表示 SQL 中的常數資料表,有時稱為資料表值建構函式。

此類型通常由資料庫提供者 (和其他延伸模組) 使用。 它通常不會用於應用程式程式碼。

(繼承來源 TableExpressionBase)

方法

AddAnnotation(String, Object)

將批註加入至這個物件。 如果具有指定名稱的注釋已經存在,則會擲回 。

(繼承來源 TableExpressionBase)
Clone()

建立目前執行個體複本的新物件。

CreateWithAnnotations(IEnumerable<IAnnotation>)

使用指定的批註建立類似這個 的物件。

Equals(Object)

運算式,表示 SQL 中的常數資料表,有時稱為資料表值建構函式。

此類型通常由資料庫提供者 (和其他延伸模組) 使用。 它通常不會用於應用程式程式碼。

FindAnnotation(String)

取得具有指定名稱的注釋,如果不存在,則傳 null 回 。

(繼承來源 TableExpressionBase)
GetAnnotations()

取得目前 物件上的所有批註。

(繼承來源 TableExpressionBase)
GetHashCode()

運算式,表示 SQL 中的常數資料表,有時稱為資料表值建構函式。

此類型通常由資料庫提供者 (和其他延伸模組) 使用。 它通常不會用於應用程式程式碼。

Print(ExpressionPrinter)

使用 ExpressionPrinter 建立指定運算式的可列印字串表示。

PrintAnnotations(ExpressionPrinter)

使用 ExpressionPrinter 建立與指定運算式相關聯之批註的可列印字串表示。

(繼承來源 TableExpressionBase)
Update(IReadOnlyList<RowValueExpression>)

建立類似這個運算式的新運算式,但使用提供的子系。 如果所有子系都相同,則會傳回這個運算式。

VisitChildren(ExpressionVisitor)

運算式,表示 SQL 中的常數資料表,有時稱為資料表值建構函式。

此類型通常由資料庫提供者 (和其他延伸模組) 使用。 它通常不會用於應用程式程式碼。

明確介面實作

IPrintableExpression.Print(ExpressionPrinter)

使用 ExpressionPrinter 建立指定運算式的可列印字串表示。

(繼承來源 TableExpressionBase)

擴充方法

UnwrapJoin(TableExpressionBase)

如果指定的 tableJoinExpressionBase ,則會傳回它所聯結的資料表。 否則傳回 table

適用於