DEV Community

loading...

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

Collapse
sduduzog profile image
Beautus S Gumede Author

I'll look this up! Thanks

Collapse
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.