Jumat, 13 April 2012

Finding objects which contains at least one element from subset using RavenDB and Linq

I have simple type Question: public class Question { public Question(string id) { Id = id; Tags = new List(); } public string Id { get; private set; } public IList Tags { get; set; } } I have defined sample collection of such questions: var q1 = new Question("q1") { Tags = new List() {"aa", "bb"} }; var q2 = new Question

0 comments:

Posting Komentar