Update docs/zh-Hans/Entity-Framework-Core-Other-DBMS.md

Co-authored-by: Qingxiao Ren <rqx110@163.com>
pull/6345/head
liangshiwei 4 years ago committed by GitHub
parent 76a7fdcfcb
commit 16d0438d42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -69,7 +69,7 @@ MySQL连接字符串与SQL Server连接字符串不同. 所以检查你的解决
在 *YourProjectName*MigrationsDbContextFactory 类中找到以下代码:
````csharp
var builder = new DbContextOptionsBuilder<TestMigrationsDbContext>()
var builder = new DbContextOptionsBuilder<YourProjectNameMigrationsDbContext>()
.UseSqlServer(configuration.GetConnectionString("Default"));
````

Loading…
Cancel
Save