Camlex.NET simplifies creating of CAML queries
I like this tool and would like to share with you, this tool help you create the CAML queries via using this Camlex.NET DLL.
As per their documentation to get the following CAML query
<Where>
<Eq>
<FieldRef Name="Status" />
<Value Type="Text">Completed</Value>
</Eq>
</Where>
you just need to write the following code
string caml =
Camlex.Query()
.Where(x => (string)x["Status"] == "Completed").ToString();
You can also generate the code just put the CAML http://camlex-online.org/ URL and generate the code.
Comments
Post a Comment