public TransactionalMigrationScope(IMigrationProcessor migrationProcessor, Action disposalAction) : base(disposalAction) { if (migrationProcessor == null) throw new ArgumentNullException("migrationProcessor"); _migrationProcessor = migrationProcessor; _migrationProcessor.BeginTransaction(); }
public TransactionalMigrationScope(IMigrationProcessor migrationProcessor, Action disposalAction) : base(disposalAction) { if (migrationProcessor == null) { throw new ArgumentNullException("migrationProcessor"); } _migrationProcessor = migrationProcessor; _migrationProcessor.BeginTransaction(); }
public TransactionalMigrationScope(IMigrationProcessor migrationProcessor, Action disposalAction) : base(disposalAction) { _migrationProcessor = migrationProcessor ?? throw new ArgumentNullException(nameof(migrationProcessor)); _migrationProcessor.BeginTransaction(); }