public QueryExpression BuildQuery()
        {
            var query = new CompositeQueryExpression();

            query.Queries.Add(GetCreateTableExpression());
            query.Queries.AddRange(GetCreateIndexExpressions());
            return(query);
        }
Beispiel #2
0
        private CompositeQueryExpression ComposeQuery()
        {
            var compositeQuery = new CompositeQueryExpression();

            foreach (var query in _queries)
            {
                compositeQuery.Queries.Add(query.Query);
            }
            return(compositeQuery);
        }