SqliteEntityTypeExtensions.IsSqlReturningClauseUsed 方法

定義

多載

IsSqlReturningClauseUsed(IReadOnlyEntityType)

傳回值,指出儲存變更至資料表時是否要使用 SQL RETURNING 子句。 RETURNING 子句與某些 Sqlite 功能不相容,例如具有 AFTER 觸發程式的虛擬資料表或資料表。

IsSqlReturningClauseUsed(IReadOnlyEntityType, StoreObjectIdentifier)

傳回值,指出儲存變更至資料表時是否要使用 SQL RETURNING 子句。 RETURNING 子句與某些 Sqlite 功能不相容,例如具有 AFTER 觸發程式的虛擬資料表或資料表。

IsSqlReturningClauseUsed(IReadOnlyEntityType)

傳回值,指出儲存變更至資料表時是否要使用 SQL RETURNING 子句。 RETURNING 子句與某些 Sqlite 功能不相容,例如具有 AFTER 觸發程式的虛擬資料表或資料表。

public static bool IsSqlReturningClauseUsed (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member IsSqlReturningClauseUsed : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> bool
<Extension()>
Public Function IsSqlReturningClauseUsed (entityType As IReadOnlyEntityType) As Boolean

參數

entityType
IReadOnlyEntityType

實體類型。

傳回

true 如果使用 SQL RETURNING 子句來儲存資料表的變更,則為 。

適用於

IsSqlReturningClauseUsed(IReadOnlyEntityType, StoreObjectIdentifier)

傳回值,指出儲存變更至資料表時是否要使用 SQL RETURNING 子句。 RETURNING 子句與某些 Sqlite 功能不相容,例如具有 AFTER 觸發程式的虛擬資料表或資料表。

public static bool IsSqlReturningClauseUsed (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member IsSqlReturningClauseUsed : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * StoreObjectIdentifier -> bool
<Extension()>
Public Function IsSqlReturningClauseUsed (entityType As IReadOnlyEntityType, ByRef storeObject As StoreObjectIdentifier) As Boolean

參數

entityType
IReadOnlyEntityType

實體類型。

storeObject
StoreObjectIdentifier

類似資料表的存放區物件的識別碼。

傳回

true 如果使用 SQL RETURNING 子句來儲存資料表的變更,則為 。

適用於