修改readme的一个错误例子
This commit is contained in:
parent
39dbdac663
commit
006d95e073
|
@ -602,7 +602,7 @@ var list = new List<SysUserMod>();
|
|||
_defaultTableDbContext.SaveChanges();
|
||||
//or
|
||||
var dbContexts = _defaultTableDbContext.BulkShardingEnumerable(list);
|
||||
using (var tran = _defaultTableDbContext.BeginTransaction())
|
||||
using (var tran = _defaultTableDbContext.Database.BeginTransaction())
|
||||
{
|
||||
foreach (var dataSourceMap in dbContexts)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue