~/talk

How Entity Framework translates LINQ all the way to SQL

Talkat Dotnetos Conference 2019 · 2019-10-10..10-11· [databases]
links:none on file
slides:none on file

Deep dive into how Entity Framework Core converts LINQ expression trees into SQL by running a pipeline of visitors that rewrite nodes (null semantics, instance equality, composite keys, subquery duplication) into a SQL-specific expression model and then emit SQL plus a shaper. The pipeline does parameter extraction to punch holes for caching, avoids client eval in EF Core 3 except top projections, and offers compiled queries to bypass cache overhead; pay attention to joins versus multiple queries and prepared-statement benefits.

AI-written summary · about

  1. 0:00Start
  2. 6:37EXPRESSION TREES
  3. 22:27RELATED INSTANCES
  4. 34:55EF CORE PREPROCESSOR
  5. 42:34ZOOM OUT AGAIN
  6. 44:02COMPILED QUERIES
~/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.