SqliteEntityTypeMappingFragmentExtensions.IsSqlReturningClauseUsed 方法

定义

返回一个值,该值指示在保存对表所做的更改时是否使用 SQL RETURNING 子句。 RETURNING 子句与某些 Sqlite 功能不兼容,例如具有 AFTER 触发器的虚拟表或表。

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

参数

fragment
IReadOnlyEntityTypeMappingFragment

实体类型映射片段。

返回

配置的值。

适用于