Top "Ef-core-3.0" questions

Use this tag for version specific questions about the 3.0 version of Entity Framework for .NET Core.

EF Core 2.2 LINQ query not working in EF Core 3.0

Below code works fine at EF Core 2.2 bu not working on EF core 3.0 var items = (from asset in Context.Assets …

entity-framework ef-core-3.0
Get Current User in a Blazor component

I'm starting a new site with Blazor and Windows Authentication and need to identify the current user viewing the page/…

asp.net-core blazor .net-core-3.0 blazor-server-side ef-core-3.0
How to execute stored procedure for multiple parameters using FromSqlInterpolated in EF Core 3.0?

I have a stored procedure in Sql Server 2017 which takes three parameters. CREATE PROCEDURE UpdateRestaurantInformation @restaurantId nvarchar(max), @restaurantName nvarchar(…

asp.net-core stored-procedures .net-core entity-framework-core ef-core-3.0
EF Core 3 x.Contains() in expression where x is ICollection

I've got the following data layer setup: public class Repository : IRepository { private readonly MyDbContext _dbContext; public List<Meter> …

entity-framework-core ef-core-2.1 ef-core-3.0