~/talk

Primitive Collections in EF Core 8.0: Simplifying Data Storage with JSON

Talkat NDC Oslo 2024 · 2024-06-10..06-14· [databases]
slides:none on file

EF Core 8.0 maps any public IEnumerable<T> of a primitive T to a JSON column so lists of strings or enums serialize as JSON arrays, queries compile to SQL Server using OPENJSON usage with the filter value passed as a parameter for plan reuse, and migrations add only JSON or prefixed columns. A case handling system uses an enum primitive collections for completed steps and a small record as a complex types column mapped to two separate columns, reducing joins and working well for aggregate reads.

AI-written summary · about

  1. 0:00EF Core 8 introduction
  2. 0:51Traditional vs JSON modeling
  3. 1:57Primitive collections in EF Core
  4. 3:02Querying with LINQ
  5. 4:05Banking system use case
  6. 5:09Complex types explained
  7. 6:11Configuring complex types
  8. 7:35Future of JSON mapping
  9. 8:19JSON storage benefits
  10. 9:23Hybrid data storage shift
  11. 10:03Conclusion
~/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.