MigrationStatement.SuppressTransaction 属性

定义

获取或设置一个值,该值指示是否应在用于使迁移过程具有事务性的事务范围之外执行此语句。 如果设置为 true,则迁移过程失败时不会回滚此操作。

public bool SuppressTransaction { get; set; }
member this.SuppressTransaction : bool with get, set
Public Property SuppressTransaction As Boolean

属性值

适用于