Ejemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="options"></param>
 public PgFastLoad(AppOptions options)
 {
     _options            = options;
     _cache              = new SimpleFileCache();
     _srcDatabase        = new MsDatabaseInstance(options.Source, _cache);
     _dstDatabase        = new PgDatabaseInstance(options.Target, _cache);
     _dstDatabase.Logger = this;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="options"></param>
 public SyncAnalyze(AppOptions options)
 {
     _options     = options;
     _cache       = new SimpleFileCache();
     _srcDatabase = new MsDatabaseInstance(options.Source, _cache);
 }