SqlServerEntityTypeMappingFragmentExtensions.IsSqlOutputClauseUsed 方法

定義

傳回值,指出將變更儲存至相關聯的資料表時,是否要使用 SQL OUTPUT 子句。 OUTPUT 子句與特定SQL Server功能不相容,例如具有觸發程式的資料表。

public static bool IsSqlOutputClauseUsed (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment fragment);
static member IsSqlOutputClauseUsed : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment -> bool
<Extension()>
Public Function IsSqlOutputClauseUsed (fragment As IReadOnlyEntityTypeMappingFragment) As Boolean

參數

fragment
IReadOnlyEntityTypeMappingFragment

實體類型對應片段。

傳回

已設定的值。

適用於