~/talk

From CRUD to Event Sourcing

slides:none on file

Shows that SQL Server temporal tables (system-versioned tables, available since 2016) automatically keep a read-only history table with start/end timestamps, and that querying history requires the FOR SYSTEM_TIME clause. Demonstrates that Entity Framework identity map returns current snapshots for repeated keys so EF cannot enumerate historical rows without ADO.NET raw SQL. Builds a simple append-only match-scoring append-only event store plus replay and snapshot logic; it works but business events beyond CRUD require custom storage and read-model syncing.

AI-written summary · about

  1. 0:00Start
  2. 13:01Aggregates
  3. 20:03Difference between Normal Classic Tables and Temporal Tables
  4. 22:51T Sequel Code To Create a Temporal Table
  5. 27:10Summary
  6. 31:50Create the Databases
  7. 35:19Querying the History Table
  8. 46:39Identity Map
  9. 57:00Log Method
~/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.