AddDbContext 中缺少 UseSqlServer

Ste*_*ler 7 c# asp.net-core

刚刚升级到 asp.net core 2.1,似乎UseSqlServer不再存在于AddDbContext的选项中。(我传入连接字符串的地方)

我应该用什么代替?