EF Core: Logging Lazy Loading
If you are planning on migrating from Entity Framework 6.x to Entity Framework Core, there is likely one major road block: Lazy Loading. In most circumstances I don’t think lazy loading is a good idea. If you were using Entity Framework, you may be using Lazy Loading unintentionally since it’s built in by default. Eager Loading To eager load a related entity, you specify the related entity to be populated with the Include() method. This is applicable in EF and EF Core. However in Entity Framework 6.x, if you do not Include() a related entity, and access that navigation property,… Read More »EF Core: Logging Lazy Loading