12. Adding your DbContext file | ASP.NET MVC
π Course link: https://bit.ly/3CWvkqk
π Source code: https://bit.ly/3jvocZK
——————————————————————
The DbContext file is also known as the translator file between the Models (C# classes) and the data storage (SQL in our case).
You can create your custom DbContext by inheriting from the DbContext base class and configure your class to be used to translate C# code into SQL and vice versa.
===================================
You can also watch my courses on:
π― Udemy: http://bit.ly/2MaEA5rββββββββββ
π― LinkedIn Learning: https://bit.ly/2NJ5PEFββββββββββ
π― Pluralsight: http://bit.ly/2EsgjlJββββββββββ
===================================
#mvc #aspnetcore #csharp
Comments are closed.