Scaffold DBContext & Models EASILY in .NET with Entity Framework!

preview_player
Показать описание
Scaffold DBContext & Models EASILY in .NET with Entity Framework! | Database First .Net API Tutorial
Creating your models and database context to match your database by hand can be a pain to do. Why not speed up the process and use entity framework to take care of that problem. Whether you are going to use Dapper down the line or entity framework for querying your database being able to automate creating these models and db contexts makes development faster. So i wanted to share the command i use in all my projects so you guys can use it in yours.

#entityframework #dotnet #scaffolddbcontext
Рекомендации по теме
Комментарии
Автор

Regardless of what you use to access the DB, how do you guys generate yalls Models & DBContext?

IsraelQuiroz
Автор

Hello Israel greattings from Argentina... How can I continue with migrations while my domain change after a scaffolding? Like in EF couldn't find something linke "-IgnoreChanges"!!!

ciminoce
Автор

Hi, I am starting with a project in .net 6, and the scaffolding command does not work, through powershell or through visual cli, could you help me? ty

leonardofaviolopezalfaro