EntityFramework core is logging every query to the event log
this is strange…. I have published a .NET Core 8 web application that uses Entity Framework core to access a SQL Server database.
Sort EF Core results by distance from location using lat and lng
I have a table that contains lat and lng fields.
Now I want to sort this table’s data based on a given location’s lat and lng so that the closest location is displayed first and the rest are sorted based on the same principle.
Shared Struct for Runtime Data Between Service & API Controller Entity Framework Core
First off I’ll admit I may be quite off the mark here, if that’s so or there is a better way of what I need to achieve I’m open to suggestions.
How do I separate seeding data from migration code in order to reduce the size of .Designer files
We have a large business application that has large amount of seed data in Entity Framework Core 8. DbContext
is a separate library that is linked into web application as a nuget
package. We apply seed data as part of migrations (in ef database update
).
Entity Framework Core not binding Primary Key
I’m using Entity Framework Core in a .Net Core application and am running into some weird issues. When I try to retrieve a previously saved object, the Primary key of the object is null, even though it is set in the database.
Eagerly loading related objects with Entity Framework Core
I’m using Entity Framework Core in .NET Core, but I’m struggling to get related objects to eagerly load.
Eagerly loading related objects with Entity Framework Core
I’m using Entity Framework Core in .NET Core, but I’m struggling to get related objects to eagerly load.