public MongoDataSeeder(string databaseName, MongoDatabase database, IUserInterfaceHandlerIO io)
 {
     this.DataSource    = new MongoDataRaw();
     this.DataGenerator = new MongoDataGenerator(this.DataSource);
     this.DataManager   = MongoDataManager.GetInstance(database);
     this.Collections   = new Dictionary <string, IEnumerable <IMongoModel> >();
 }
Esempio n. 2
0
 private MongoDbDataImporter(DbContext db, MongoDatabase source)
 {
     this.Db = db;
     this.MongoDataManager = MongoDataManager.GetInstance(source);
 }