Unable to create an object of type 'DbContext'. For the different patterns supported at design time, see https://go.microsoft.com/fwlink/?linkid=851728
Unable to create an object of type 'DbContext'. For the different patterns supported at design time, see https://go.microsoft.com/fwlink/?linkid=851728
Bu hata ile projenizin klasoru uzerinden cmd ile migration (dotnet ef migrations add intial) yazarken karsilasiyorsaniz visual studio console ekraninda add-migration komutunun ardindan sizden istenen migration name i vererek migration olusturabilirsiniz.
Daha sonra update-database ile olusan migration i guncelleyebilirsiniz.
Console ekraninda data katmaninin secili oldugundan emin olun.