Unable to resolve service for type 'Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger`1[Microsoft.EntityFrameworkCore.DbLoggerCategory+Scaffolding]' while attempting to activate 'Microsoft.EntityFrameworkCore.Dm.Scaffolding.Internal.DmDatabaseModelFactory'.
net 6.0
dmdbms.Microsoft.EntityFrameworkCore.Dm 5.0.3
dmdbms.DmProvider 1.1.3
生成实体类报错 执行 dotnet ef dbcontext scaffold "server=xxxx;Schema=xxxx;port=5236;user=SYSDBA;password=xxxx" Microsoft.EntityFrameworkCore.Dm --context MyDbContext --context-dir Context --output-dir Entities --no-onconfiguring --no-pluralize -f
Unable to resolve service for type 'Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger`1[Microsoft.EntityFrameworkCore.DbLoggerCategory+Scaffolding]' while attempting to activate 'Microsoft.EntityFrameworkCore.Dm.Scaffolding.Internal.DmDatabaseModelFactory'.
net 6.0 dmdbms.Microsoft.EntityFrameworkCore.Dm 5.0.3 dmdbms.DmProvider 1.1.3