修改readme的demo
This commit is contained in:
parent
98e3687a46
commit
048b1481d9
|
@ -208,8 +208,6 @@ dbcontext `AbstractShardingDbContext`和`IShardingTableDbContext`如果你是普
|
|||
{
|
||||
app.UseDeveloperExceptionPage();
|
||||
}
|
||||
//not required, enable job auto create table 非必须 启用自动创建表的任务
|
||||
app.ApplicationServices.UseAutoShardingCreate();
|
||||
//not required, enable check table missing and auto create,非必须 启动检查缺少的表并且创建
|
||||
app.ApplicationServices.UseAutoTryCompensateTable();
|
||||
// other configure....
|
||||
|
|
|
@ -215,8 +215,6 @@ u need modify `AddDefaultDataSource` method second param(connection string),don'
|
|||
{
|
||||
app.UseDeveloperExceptionPage();
|
||||
}
|
||||
//not required, enable job auto create table 非必须 启用自动创建表的任务
|
||||
app.ApplicationServices.UseAutoShardingCreate();
|
||||
//not required, enable check table missing and auto create,非必须 启动检查缺少的表并且创建
|
||||
app.ApplicationServices.UseAutoTryCompensateTable();
|
||||
// other configure....
|
||||
|
|
Loading…
Reference in New Issue