- 增加 IInsert/IUpdate BatchOptions 方法指定批量插入的设置;

This commit is contained in:
28810
2019-12-20 19:47:43 +08:00
parent 80133d0af7
commit ab1d0a2cb5
27 changed files with 148 additions and 191 deletions

View File

@ -18,9 +18,9 @@ namespace FreeSql.SqlServer.Curd
{
}
public override int ExecuteAffrows() => base.SplitExecuteAffrows(1000, 2100);
public override long ExecuteIdentity() => base.SplitExecuteIdentity(1000, 2100);
public override List<T1> ExecuteInserted() => base.SplitExecuteInserted(1000, 2100);
public override int ExecuteAffrows() => base.SplitExecuteAffrows(_batchValuesLimit > 0 ? _batchValuesLimit : 1000, _batchParameterLimit > 0 ? _batchParameterLimit : 2100);
public override long ExecuteIdentity() => base.SplitExecuteIdentity(_batchValuesLimit > 0 ? _batchValuesLimit : 1000, _batchParameterLimit > 0 ? _batchParameterLimit : 2100);
public override List<T1> ExecuteInserted() => base.SplitExecuteInserted(_batchValuesLimit > 0 ? _batchValuesLimit : 1000, _batchParameterLimit > 0 ? _batchParameterLimit : 2100);
public override string ToSql()
{