public DataBossLogMigrationScope(IDataBossLog log, IDataBossMigrationScope inner) { this.log = log; this.inner = inner; this.stopwatch = new Stopwatch(); inner.OnError += (_, e) => log.Error(e.GetException()); }
public Program(IDataBossLog log, SqlConnection db) { this.log = log; this.db = db; }