private static void ExportXmlTradersToMongo(ICollection <Trader> traders) { var mongoProvider = new MongoProvider( System.Configuration.ConfigurationManager.ConnectionStrings["MolybdenumDb"].ConnectionString, System.Configuration.ConfigurationManager.ConnectionStrings["MolybdenumDb"].Name); var mongoDatabase = mongoProvider.GetDatabase(); var mongoExporter = new MongoExporter(); mongoExporter.ExportTraders(mongoDatabase, traders); }
private static void ExportXmlTradersToMongo(ICollection<Trader> traders) { var mongoProvider = new MongoProvider( System.Configuration.ConfigurationManager.ConnectionStrings["MolybdenumDb"].ConnectionString, System.Configuration.ConfigurationManager.ConnectionStrings["MolybdenumDb"].Name); var mongoDatabase = mongoProvider.GetDatabase(); var mongoExporter = new MongoExporter(); mongoExporter.ExportTraders(mongoDatabase, traders); }