I am trying to make a connection with the database and have this layer be dedicated to dealing with the database, but I get this error:
CS1061 ‘DbContextOptionsBuilder’ does not contain a definition for ‘UseSqlServer’ and no accessible extension method ‘UseSqlServer’ accepting a first argument of type ‘DbContextOptionsBuilder’ could be found (are you missing a using directive or an assembly reference?)
Saleh Salem is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
4