Exemplo n.º 1
0
        private static void UpdateMongoDB()
        {
            var mongoCarsCollection = CreateCarsCollection();
            var mongoDBLoader       = new MongoDBLoader <MongoCar>();

            mongoDBLoader.LoadEntities(mongoCarsCollection, "Cars");
        }
Exemplo n.º 2
0
        private void ProcessCarsInMongo(IEnumerable <MongoCar> cars)
        {
            var mongoLoader = new MongoDBLoader <MongoCar>();

            mongoLoader.LoadEntities(cars, "Cars");
        }