RelationalEntityTypeExtensions.GetSqlQuery 方法

定義

多載

GetSqlQuery(IReadOnlyEntityType)

傳回用來提供實體類型 null 資料的 SQL 字串,如果未對應至 SQL 字串,則傳回 。

GetSqlQuery(IEntityType)

傳回用來提供實體類型 null 資料的 SQL 字串,如果未對應至 SQL 字串,則傳回 。

GetSqlQuery(IReadOnlyEntityType)

傳回用來提供實體類型 null 資料的 SQL 字串,如果未對應至 SQL 字串,則傳回 。

public static string? GetSqlQuery (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetSqlQuery : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> string
<Extension()>
Public Function GetSqlQuery (entityType As IReadOnlyEntityType) As String

參數

entityType
IReadOnlyEntityType

實體類型。

傳回

用來提供實體類型的資料的 SQL 字串。

適用於

GetSqlQuery(IEntityType)

傳回用來提供實體類型 null 資料的 SQL 字串,如果未對應至 SQL 字串,則傳回 。

public static string GetSqlQuery (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetSqlQuery : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> string
<Extension()>
Public Function GetSqlQuery (entityType As IEntityType) As String

參數

entityType
IEntityType

實體類型。

傳回

用來提供實體類型的資料的 SQL 字串。

適用於