Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static IQueryable<Account> GetAccountsEager(this IRepository<Account> repository)
- {
- return repository
- .Queryable()
- .Include(e => e.AccountLocations
- .Select(l => l.Address.City.State.Country));
- }
- public virtual ICollection<Address> Addresses { get; set; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement