EF Core

2 notes · 24 Nov 2026 – 26 Nov 2026

Week 48

23–29 Nov 2026

2 notes

  1. SQL Server CHECK ... IN (...) is case-insensitive under the default collation

    A CHECK constraint that lists the allowed string values of an EF Core enum accepted wrongly cased values, because SQL Server's default collation compares case-insensitively, and the binary collation that fixes it does not exist in SQLite.

  2. Paged EF Core search with IN-subquery hits a SQL Server row-goal trap

    A paged EF Core search that filters by an IN subquery took about 25 seconds on SQL Server, because OFFSET/FETCH set a row goal and the optimizer scanned the sort index with a seek per row instead of using the token index.

All topics