Unable to create a ‘DbContext’ of type ”. The exception ‘Unable to resolve service for type ‘Microsoft.EntityFrameworkCore.DbContextOptions’ while attempting to activate ‘API.Data.DataContext’.’
when adding migration this issue arriving
error immage
i want to add migration but this is not working for me
currently a;m using .net and VS code editor for migration
if any possibe solution please give your valuable input.
TUSHAR LADVA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.