Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
return db.Application.Where(x => x.ApplicationId == applicationId).Where(
//inactive warranty types
z => z.Warranty.WarrantyStatusId != 2 &&
z.WarrantyStatusId != 3 &&
z.WarrantyStatusId != 8 &&
z.WarrantyStatusId != 10)
.Include(x => x.Lienholder)
.Include(x => x.Warranty.Select(y => y.Coverage.CoverageGroup))
.Include(x => x.Vehicle)
.Include(x => x.Vendor)
.First();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.