Exemplo n.º 1
0
 /// <summary>
 /// Returns an quick Obj.
 /// </summary>
 /// <param name="Query"></param>
 /// <returns></returns>
 public QueryObject GetObject(Query Query)
 {
     using (var Stream = new QueryStream())
     {
         Stream.Push(Query);
         return Stream.Pop();
     }
 }
Exemplo n.º 2
0
        /// <summary>
        /// Pushes an query on the top of the stack.
        /// </summary>
        /// <param name="Query"></param>
        public void Push(Query Query)
        {
            if (Querys == null)
            {
                Querys = new Stack<Query>();
            }

            Querys.Push(Query);
        }
Exemplo n.º 3
0
 /// <summary>
 /// Invokes the query, there is no output.
 /// </summary>
 /// <param name="Query"></param>
 public void InvokeQuery(Query Query)
 {
     GetObject(Query);
 }