Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- db.Table1.
- Include("Table2").
- Include("Table3").
- Include("Table3.Table4").
- Include("Table3.Table5").
- AsNoTracking().
- Where(
- obj => obj.col1 == value1 &&
- obj.col2 == value2).
- Take(maxRows).
- OrderBy(x => x.col3).
- ToList();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement