コード例 #1
0
 public MongoCursorProxy(MongoCursor mongoMongoCursor)
 {
     _mongoMongoCursor = mongoMongoCursor;
     Collection        = new MongoCollectionProxy(_mongoMongoCursor.Collection);
     Database          = new MongoDatabaseProxy(_mongoMongoCursor.Database);
     Server            = new MongoServerProxy(_mongoMongoCursor.Server);
 }
コード例 #2
0
        public MongoCollectionProxy(MongoCollection collection)
        {
            _collection = collection;

            Database = new MongoDatabaseProxy(_collection.Database);
        }