![]() After that, you can use it anywhere in the controller. Normally to use DataContext, you just need to add the DataContext in the controller constructor and assigning it to a variable in the controller. What I have not shown is how to use DataContext. Ĭheck the database is instantiated by checking that EFCoreMigration database is present in the local instance of the MS SQL server by using, e.g., Microsoft Server Management Studio.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |