Create Context class optional constructor in fly
Go to Visual Studio 2022 and Right click on the project Add->Class - give a Name as ContactDbContext
- Inherit it from DbContext
Then right click on the class name Proess Ctrl + (.)Period Symbol



Comments
Post a Comment