DEV Community

houssem11957
houssem11957

Posted on

Entity Framework Core and DBcontext Configuration in Startup class

can someone give us the best way to configure DbContext in the Startup class , i have been working with C#.NET driver for MongoDB
but now i am switching to SQL SERVER and EF core so i am looking for the best way to make it work , what is the best way to configure the DBContext in STARTUP class and make generic repository , thanks

Top comments (0)