This project has moved and is read-only. For the latest updates, please go here.

CAML Queries

Apr 16, 2014 at 12:59 AM
first of all id like to congratulate for this AWESOME project, i mean it, this one is the best ORM ever for sharepoint.

As far as i am a noob on this, i could only see the samples, os query building, and ive found something like:
.Query(Q.Where(Q.Eq(Q.FieldRef<Announcement>(a => a.Title), Q.Value("Add_AddsItemOfContentTypeTest")))))

On the samples, well, googling around, ive found this nice project, called CamlExpression

It allows you to write the queries just like we do with EF (with Linq)...

Idk, please don´t get me wrong, but id love to see Sharepoint Common Framework, with this, this would be beyond the heavens hahah

Thanks a lot guys!
Apr 28, 2014 at 11:59 AM
Hi patrykmoura!
Thanks for the nice words in project address!

The reason of current syntax is more similar to native CAML constructions. Also it was most simple implementation.

LINQ is great technology and it implementation is planned for further versions!
Apr 29, 2014 at 2:16 AM
Nice to hear!
I'd like to help and contribute with coding, could I?

I'd be very glad.

Thanks for the reply!

Apr 29, 2014 at 9:32 AM
Thanks, new contributions always welcome!
In a next few days(maybe hours) I will create a branch of code for implementing this.
Then give you access and you can start trying to implement!
Apr 30, 2014 at 3:43 AM
I'll give a try! For sure!

Wait this weekend hahah

Thanks regards!