This time i would like to share with you a class library i called “cawl4SharePoint”.

When i am implementing sharepoint webparts i use caml query to select and modify SP lists. It is not that hard to work with caml queries but sometimes it can be complicated and visually not good looking. Therefore i decided to write a class library and make it little bit easier. Here what i finally accomplished.



cawl_QueryBuilder cawl = new cawl_QueryBuilder();

cawl.Where("Title","=","Request");
cawl.Where("Status", "=", "Active");
cawl.or_Where("Status", "=", "Completed");
cawl.Order_By("Title", "ASC");

cawl .Get("Requests");

string query= qr.QueryString();


[ilink url=”http://cawl4sharepoint.com”]For more information[/ilink]