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)); }
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); }
private static string GetSingleExpression(CAMLExpression expression) { var op = expression.Operator.ToString(); return String.Format(@"<{0}>{1}</{0}>", op, GetFieldRefExpression(expression)); }
private static string GetSingleExpression(CAMLExpression expression) { var op = expression.Operator.ToString(); return(String.Format(@"<{0}>{1}</{0}>", op, GetFieldRefExpression(expression))); }