http://sharepointcamlhelper.codeplex.com/ https://camldotnet.svn.codeplex.com/svn/JohnHolliday.Caml.Net/CAML.cs CAMLManager mgr = new CAMLManager(); mgr.QueryGroups.Add(new QueryGroup("Title", Types.FieldTypes.Text, Types.QueryTypes.Eq, "A Title")); mgr.QueryGroups.Add(new QueryGroup(Types.JoinTypes.Or, "Title", Types.FieldTypes.Text, Types.QueryTypes.Eq, "Another Title")); mgr.QueryGroups.Add(new QueryGroup(Types.JoinTypes.And, QueryGroup.MergeTypes.Contain, "Total", Types.FieldTypes.Number, Types.QueryTypes.Geq, "2")); string caml = mgr.GetCAML(); Will provide the following: <Where> <And> <Or> <Eq> <FieldRef Name="Title" /><Value Type="Text">A Title</Value> </Eq> <Eq> <FieldRef Name="Title" /><Value Type="Text">Another Title</Value> ...
Fine information, many thanks to the author. SharePoint 2010 is beneficial for all with it's new features. It is much advanced from it's predecessors. All businessmen, colleagues, partners, customers can work together in efficient manner.
ReplyDeleteSharePoint Consulting
Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. SharePoint Consulting is very important in the business world.
ReplyDelete