Ejemplo n.º 1
0
        public virtual QueryEnumerator Run()
        {
            IList <long>     outSequence = new AList <long>();
            string           viewName    = (view != null) ? view.GetName() : null;
            IList <QueryRow> rows        = database.QueryViewNamed(viewName, GetQueryOptions(), outSequence
                                                                   );

            lastSequence = outSequence[0];
            return(new QueryEnumerator(database, rows, lastSequence));
        }
Ejemplo n.º 2
0
		public View RegisterView(View view)
		{
			if (view == null)
			{
				return null;
			}
			if (views == null)
			{
				views = new Dictionary<string, View>();
			}
			views.Put(view.GetName(), view);
			return view;
		}