Reputation: 4068
Just upgraded to asp.net core 2.1 and it seems like UseSqlServer no longer exists in the options for AddDbContext. (where I pass in the connectionstring)
What am I supposed to use instead?
Upvotes: 19
Views: 13620
Reputation: 4068
Added nuget package Microsoft.EntityFrameworkCore.SqlServer and it worked again
Upvotes: 41