I have this as my model;

What I’m looking for is a LINQ expression that can give me the UserActivity records, sorted by UserActivity.DateTime of all the users friends.
In other words, if a user has three friends, then I want the activity records of those three friends.
I’ve tried using .In and .Contains but my LINQ is pretty poor at the moment.
or can anyone suggest a differnt model that would give me the same results?
I don’t know if this helps or not but it was on top of my head and I didn’t even test it 🙂 Hope this helps. USER_ID is the user that you want to see his/her friends’ activities.