Guest User

Untitled

a guest
Jan 16th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. using (var ctx = new MyEntities())
  2. {
  3. var result = (from s in ctx.EntityA.Include("EntityB")
  4. where s.Id = 11111
  5. orderby s.TimeUpdated descending
  6. select s)
  7. .Take(10)
  8. .ToList();
  9. return result;
  10. }
Add Comment
Please, Sign In to add comment