示例#1
0
 private static string GetFieldRefExpression(CAMLExpression expression)
 {
     return(String.Format(@"<FieldRef Name=""{0}"" {3}/><Value Type=""{1}""><![CDATA[{2}]]></Value>",
                          expression.Column,
                          expression.Type,
                          expression.Value,
                          expression.AdditionalParams ?? string.Empty));
 }
示例#2
0
 private static string GetFieldRefExpression(CAMLExpression expression)
 {
     return String.Format(@"<FieldRef Name=""{0}"" {3}/><Value Type=""{1}""><![CDATA[{2}]]></Value>",
                             expression.Column,
                             expression.Type,
                             expression.Value,
                             expression.AdditionalParams ?? string.Empty);
 }
示例#3
0
 private static string GetSingleExpression(CAMLExpression expression)
 {
     var op = expression.Operator.ToString();
     return String.Format(@"<{0}>{1}</{0}>", op, GetFieldRefExpression(expression));
 }
示例#4
0
        private static string GetSingleExpression(CAMLExpression expression)
        {
            var op = expression.Operator.ToString();

            return(String.Format(@"<{0}>{1}</{0}>", op, GetFieldRefExpression(expression)));
        }