How do I map a table-valued function (via DbFunctionBuilder) to an Entity result with Include() entities?
EF Core supports mapping a table-valued SQL FUNCTION to an existing Entity class type that’s already associated with a TABLE. This is done with the DbFunctionBuilder type. I have a FUNCTION in my MSSQL database that returns an entity, but it also returns other entities via INNER JOIN (and LEFT OUTER JOIN). However it’s unclear […]
Blazor .NET 8 LINQ ViewModel Except
`var users = await context.Users.ToListAsync();
var usersInLocation = await context.LocationsApplicationUsers.Include(lau => lau.ApplicationUser).Where(lau => lau.LocationId == locationId).Select(lau => lau.ApplicationUser).ToListAsync();