The open source simple and complete warehouse management system is derived from our many years of experience in implementing erp projects. We stripped the original commercial system wms function and opened it up for free, hoping to help the majority of small and medium-sized enterprises. At present, the system supports cross-platform。
请问这个迁移如何操作
cd ModernWMS
dotnet ef migrations add init
Build started...
Build succeeded.
Your target project 'ModernWMS' doesn't match your migrations assembly 'ModernWMS.Core'. Either change your target project or change your migrations assembly.
Change your migrations assembly by using DbContextOptionsBuilder. E.g. options.UseSqlServer(connection, b => b.MigrationsAssembly("ModernWMS")). By default, the migrations assembly is the assembly containing the DbContext.
Change your target project to the migrations project by using the Package Manager Console's Default project drop-down list, or by executing "dotnet ef" from the directory containing the migrations project.
cd .\ModernWMS.Core\
Unable to create an object of type 'SqlDBContext'. For the different patterns supported at design time, see https://go.microsoft.com/fwlink/?linkid=851728
请问这个迁移如何操作 cd ModernWMS dotnet ef migrations add init Build started... Build succeeded. Your target project 'ModernWMS' doesn't match your migrations assembly 'ModernWMS.Core'. Either change your target project or change your migrations assembly. Change your migrations assembly by using DbContextOptionsBuilder. E.g. options.UseSqlServer(connection, b => b.MigrationsAssembly("ModernWMS")). By default, the migrations assembly is the assembly containing the DbContext. Change your target project to the migrations project by using the Package Manager Console's Default project drop-down list, or by executing "dotnet ef" from the directory containing the migrations project. cd .\ModernWMS.Core\ Unable to create an object of type 'SqlDBContext'. For the different patterns supported at design time, see https://go.microsoft.com/fwlink/?linkid=851728