public QueryExpression BuildQuery() { var query = new CompositeQueryExpression(); query.Queries.Add(GetCreateTableExpression()); query.Queries.AddRange(GetCreateIndexExpressions()); return(query); }
private CompositeQueryExpression ComposeQuery() { var compositeQuery = new CompositeQueryExpression(); foreach (var query in _queries) { compositeQuery.Queries.Add(query.Query); } return(compositeQuery); }