public MongoCursorProxy(MongoCursor mongoMongoCursor) { _mongoMongoCursor = mongoMongoCursor; Collection = new MongoCollectionProxy(_mongoMongoCursor.Collection); Database = new MongoDatabaseProxy(_mongoMongoCursor.Database); Server = new MongoServerProxy(_mongoMongoCursor.Server); }
public MongoCollectionProxy(MongoCollection collection) { _collection = collection; Database = new MongoDatabaseProxy(_collection.Database); }