~/talk

10 things you didn't know EF Core can do

Talkat Øredev 2025 · 2025-11-05..11-07· [databases]
slides:none on file

Ten concrete EF Core capabilities appear with concrete limits and demos: value‑type properties replace complex types for faster in‑row mapping, implicit many‑to‑many avoids mapping join entities, and hierarchy ID (SQL Server) mapped via SqlServer.HierarchyId package enables single‑query descendant/level queries — demo shows initial config hiccups then working queries. Also: raw SQL materialized like Dapper, JSON columns for nested owned types written to one column, batching, inheritance strategies, logical deletes via shadow props+filters+SaveChanges interception, compiled queries, and the multi‑database DBContext item is revealed as fake.

AI-written summary · about

  1. 0:00Introduction
  2. 2:38EF Core features overview
  3. 3:41Value type properties
  4. 4:23Many-to-many without tables
  5. 4:47Hierarchical IDs for trees
  6. 6:12Raw SQL queries
  7. 6:54JSON columns
  8. 7:58Batching SQL statements
  9. 9:00Single DbContext multi-DB
  10. 10:08Inheritance mapping strategies
  11. 12:56Logical deletes with shadow props
  12. 14:44Compiling queries
  13. 16:11DbContext without DbSets
  14. 18:14Fake feature demo vote
  15. 21:07Hierarchical IDs setup
  16. 28:18Hierarchical IDs demo
  17. 31:40Querying hierarchical data
  18. 34:56JSON columns demo
  19. 39:57JSON columns results
  20. 41:45Conclusion & Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.