public static CamlCommandData GenerateCaml(QueryModel queryModel) { var camlQueryModelVisitorBase = new CamlQueryModelVisitorBase(); camlQueryModelVisitorBase.VisitQueryModel(queryModel); return(camlQueryModelVisitorBase.GetCamlCommand()); }
protected override Expression VisitSubQueryExpression(SubQueryExpression expression) { var camlQueryModelVisitorBase = new CamlQueryModelVisitorBase(); camlQueryModelVisitorBase.VisitQueryModel(expression.QueryModel); var parts = camlQueryModelVisitorBase._queryPartsAggregator; return(expression); }