~/talk

EF Core database model first - take it to the next level with Power Tools CLI

Talkat Øredev 2024 · 2024-11-06..11-08· [databases]
slides:none on file

Generates a DbContext and entity classes from a live database in seconds using a .NET global tool published on NuGet, with a demo that actually produces compilable code after adding the recommended provider packages. Maps tables, views, stored procedures and functions (with warnings for dynamic result sets), recognizes SQL Server types like hierarchyid when extended libraries are added, outputs a mermaid ER diagram, and cleans removed files to the recycle bin so regeneration is safe and repeatable.

AI-written summary · about

  1. 0:00EF Core and Power Tools intro
  2. 1:05What is EF Core
  3. 5:22EF Core releases
  4. 8:55EF Core 9 features
  5. 13:14Database-first workflow
  6. 16:11Setup Power Tools CLI
  7. 21:13Generate code from DB
  8. 24:08Code generation config
  9. 27:54Advanced customization
  10. 34:30Generating documentation with Mermaid diagrams
  11. 39:10DACPAC modeling
  12. 41:26Q&A migrations
~/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.