Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Person
- { "Name" : "Albert",
- "YOB" : 1900, // Year of born
- "Childs" :
- { "Name" : "Alan",
- "YOB" : 1923,
- "Childs" :
- { "Name" : "Bob",
- "YOB" : 1949,
- "Childs" : { // Repeat unknown times }
- },
- { "Name" : "Bella",
- "YOB" : 1950,
- "Childs" : { ... }
- }
- }
- },
- { // another person },
- { // another person }
- var queryFilter = new QueryDocument();
- queryFilter.Add(new Dictionary<string,object> { { "Childs.Childs.YOB", 1950 } });
- result = {{ "Albert", "Bella", 50}, { "Other Name", "Other Name", 50 }, ... };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement