public DbDiffChangeLoggerContext(DbDiffOptions opts, ILogger logger, DbDiffOptsLogger ltype) { m_opts = opts; m_ltype = ltype; m_oldValue = m_opts.DiffLogger; m_opts.SetLogger(m_ltype, logger); }
public void Dispose() { m_opts.SetLogger(m_ltype, m_oldValue); }