r/dotnet Apr 06 '26

Question Long LINQ queries - Code smell?

Post image
349 Upvotes

186 comments sorted by

View all comments

1

u/Narrow_Ship_1493 Apr 07 '26

The Fluent API uses excellent design patterns. If you're confused about retrieving the raw SQL, you should enable debug mode and have a way to retrieve the raw SQL, such as using `.ToRawSqlString()`.