Exemple #1
0
 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);
 }
Exemple #2
0
 public DbDiffChangeLoggerContext(DbDiffOptions opts, IMessageLogger logger, DbDiffOptsLogger ltype)
 {
     m_opts = opts;
     m_ltype = ltype;
     m_oldValue = m_opts.DiffLogger;
     m_opts.SetLogger(m_ltype, logger);
 }
Exemple #3
0
 internal void SetLogger(DbDiffOptsLogger ltype, ILogger logger)
 {
     if (ltype == DbDiffOptsLogger.DiffLogger)
     {
         DiffLogger = logger;
     }
     if (ltype == DbDiffOptsLogger.AlterLogger)
     {
         AlterLogger = logger;
     }
 }
Exemple #4
0
 internal void SetLogger(DbDiffOptsLogger ltype, IMessageLogger logger)
 {
     if (ltype == DbDiffOptsLogger.DiffLogger) DiffLogger = logger;
     if (ltype == DbDiffOptsLogger.AlterLogger) AlterLogger = logger;
 }