Basic structure & EF Core
Last updated
Was this helpful?
Last updated
Was this helpful?
Once we have completed the first steps we are ready to create our basic structure. We need to add Dtos, Models, Seed.Core => Infrastructure
it should look like this:
We can also add a Data
folder to work with EntityFrameworkCore
code first.
In our ConfigureServices
we need to add the following lines to connect with our DataContext
class: