Exemplo n.º 1
0
 public MongoCursorProxy(MongoCursor mongoMongoCursor)
 {
     _mongoMongoCursor = mongoMongoCursor;
     Collection        = new MongoCollectionProxy(_mongoMongoCursor.Collection);
     Database          = new MongoDatabaseProxy(_mongoMongoCursor.Database);
     Server            = new MongoServerProxy(_mongoMongoCursor.Server);
 }
Exemplo n.º 2
0
        public MongoDatabaseProxy(MongoDatabase mongoDatabase)
        {
            _mongoDatabase = mongoDatabase;

            Server = new MongoServerProxy(mongoDatabase.Server);
        }