Log Entity Framework details on exception
This worked in old versions, haven’t tested yet in Entity Framework Core – not sure if the structure changed.
This worked in old versions, haven’t tested yet in Entity Framework Core – not sure if the structure changed.
Here’s all you need to do to enable lazy loading of navigation properties in Entity Framework Core – doing this allows you to call one of the navigation properties after the original query, and EF will figure out what SQL it needs to run to pull that data. If you know you’re going to need […]
If you need a left join in Entity Framework, you have a couple options. First, if you’re using a real foreign key that just happens to be nullable, then you can use the regular navigation properties. But if you’re doing a left join manually, or with other factors, then you need to do things just […]
If you need a left join in Entity Framework, you have a couple options. First, if you’re using a real foreign key that just happens to be nullable, then you can use the regular navigation properties. But if you’re doing a left join manually, or with other factors, then you need to do things just […]