The connection string as follows: "Server=(local) \ \ SQLSERVERUN; The Database=SmartMk; User ID=sa; Password=XXX; MultipleActiveResultSets=true;"
VS runtime can connect to the database, but the migration when the database is still the problem, have to find a lot about the solution of the string, are tried, still can't solve,
Please expert advice, thank you!
CodePudding user response:
Using.net core 3.1CodePudding user response:
Database is used to create,.net core IdentityCodePudding user response:
After the test, using the same connection string, self-built another custom context can realize data migration, but use. Netcore IdentityDbContext impossible to create a data table