KEMBAR78
6. entity framework 6 aspdotnet-mvc5-slides | PDF
ASP.NET MVC 5 Fundamentals
Entity Framework 6
K. Scott Allen
OdeToCode.com
@OdeToCode
What’s First?
 Database
 Model
 Code
Migrations
 Create, seed, and apply schema changes
 Now supports multiple DbContexts in a project
 -ContextTypeName
 -MigrationsDirectory
Scaffolding and EF 6
Async
 An async method can use an await
 Using await can free a thread
 EF6 provides an async API
Logging
 What is happening with the database?
 Entity Framework can produce log output
 Glimpse
Summary

6. entity framework 6 aspdotnet-mvc5-slides