Beispiel #1
0
        public virtual Cursor OpenCursor(Query query)
        {
            var db = GetDatabase();

            var handler = QueryResolver.Resolve(query);
            var context = new MongoDBCRUDQueryExecutionContext(this, db);
            var result  = handler.OpenCursor(context, query);

            return(result);
        }
Beispiel #2
0
        public virtual Cursor OpenCursor(Query query)
        {
            var db = GetDatabase();

               var handler = QueryResolver.Resolve(query);
               var context = new MongoDBCRUDQueryExecutionContext(this, db);
               var result = handler.OpenCursor( context, query);
               return result;
        }