EF Core missing methods in generated DbContext

Problem

Methods like UseSqlServer HasColumnName are not resolved

Solution

With only EF Core package is not enough, you need two more.

Microsoft.EntityFrameworkCore.Design
Microsoft.EntityFrameworkCore.SqlServer

After installing these two everything works again...

mimimi

mimimi

Currently a Computer Engineering student at the National University of Singapore, passionate about software engineering. Contact me: info at mimimi.fun

Read More
EF Core missing methods in generated DbContext
Share this