diff --git a/README-zh.md b/README-zh.md index 04559ec1..94159aeb 100644 --- a/README-zh.md +++ b/README-zh.md @@ -161,7 +161,7 @@ dbcontext `AbstractShardingDbContext`和`IShardingTableDbContext`如果你是普 { //额外添加分片配置 - services.AddShardingConfigure() + services.AddShardingDbContext() .AddEntityConfig(op => { op.CreateShardingTableOnStart = true; diff --git a/README.md b/README.md index 059de21c..34bc0307 100644 --- a/README.md +++ b/README.md @@ -161,7 +161,7 @@ dbcontext `AbstractShardingDbContext`和`IShardingTableDbContext`如果你是普 { //额外添加分片配置 - services.AddShardingConfigure() + services.AddShardingDbContext() .AddEntityConfig(op => { op.CreateShardingTableOnStart = true;