FromSqlExpression 類別

定義

運算式,表示具有使用者提供的自訂 SQL 的子查詢資料表來源。

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

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

建構函式

FromSqlExpression(ITableBase, String, Expression)

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

FromSqlExpression(String, Expression, String)
已淘汰.

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

FromSqlExpression(String, String, Expression)

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

屬性

Alias

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

Alias

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

(繼承來源 TableExpressionBase)
Arguments

傳遞至自訂 SQL 的使用者提供參數。

NodeType

運算式,表示具有使用者提供的自訂 SQL 的子查詢資料表來源。

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

(繼承來源 TableExpressionBase)
Sql

使用者為數據表來源提供的自訂 SQL。

Table

ITableBase如果有任何,則為與指定資料表來源相關聯的 , null 否則為 。

Type

運算式,表示具有使用者提供的自訂 SQL 的子查詢資料表來源。

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

(繼承來源 TableExpressionBase)

方法

AddAnnotation(String, Object)

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

(繼承來源 TableExpressionBase)
Clone()

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

CreateWithAnnotations(IEnumerable<IAnnotation>)

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

CreateWithAnnotations(IEnumerable<IAnnotation>)

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

(繼承來源 TableExpressionBase)
Equals(Object)

運算式,表示具有使用者提供的自訂 SQL 的子查詢資料表來源。

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

FindAnnotation(String)

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

(繼承來源 TableExpressionBase)
GetAnnotations()

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

(繼承來源 TableExpressionBase)
GetHashCode()

運算式,表示具有使用者提供的自訂 SQL 的子查詢資料表來源。

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

Print(ExpressionPrinter)

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

PrintAnnotations(ExpressionPrinter)

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

(繼承來源 TableExpressionBase)
Update(Expression)

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

VisitChildren(ExpressionVisitor)

運算式,表示具有使用者提供的自訂 SQL 的子查詢資料表來源。

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

明確介面實作

IPrintableExpression.Print(ExpressionPrinter)

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

(繼承來源 TableExpressionBase)

擴充方法

UnwrapJoin(TableExpressionBase)

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

適用於