示例#1
0
        public static CamlCommandData GenerateCaml(QueryModel queryModel)
        {
            var camlQueryModelVisitorBase = new CamlQueryModelVisitorBase();

            camlQueryModelVisitorBase.VisitQueryModel(queryModel);
            return(camlQueryModelVisitorBase.GetCamlCommand());
        }
示例#2
0
        protected override Expression VisitSubQueryExpression(SubQueryExpression expression)
        {
            var camlQueryModelVisitorBase = new CamlQueryModelVisitorBase();

            camlQueryModelVisitorBase.VisitQueryModel(expression.QueryModel);
            var parts = camlQueryModelVisitorBase._queryPartsAggregator;

            return(expression);
        }