DEV Community

Discussion on: C# and .NET Core Appreciation Post. The most beautiful piece of code I have ever seen... this month!

sduduzog profile image
Beautus S Gumede Author

I'll look this up! Thanks

balassamarton profile image
Márton Balassa

Lazy loading navigations can easily lead to accidental N+1 queries. You can explicitly include navigations with DbSet<>.Include.