Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using (var ctx = new MyEntities())
- {
- var result = (from s in ctx.EntityA.Include("EntityB")
- where s.Id = 11111
- orderby s.TimeUpdated descending
- select s)
- .Take(10)
- .ToList();
- return result;
- }
Add Comment
Please, Sign In to add comment