public QueryObject GetObject(Query Query) { using (var Stream = new QueryStream()) { Stream.Push(Query); return(Stream.Pop(this)); } }
public Stack <QueryObject> GetObjects(params Query[] Querys) { Stack <QueryObject> Stack = new Stack <QueryObject>(); using (var Stream = new QueryStream()) { foreach (var Query in Querys) { Stream.Push(Query); } for (int i = 0; i <= Stream.Querys.Count; i++) { Stack.Push(Stream.Pop(this)); } } return(Stack); }