mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 18:52:50 +08:00
- 修复 fsql.InsertOrUpdate SetSource(sql) 无效的 bug;
This commit is contained in:
parent
cc89a6c685
commit
cbcd711a48
@ -290,6 +290,7 @@ namespace FreeSql.Internal.CommonProvider
|
||||
public abstract string ToSql();
|
||||
public int ExecuteAffrows()
|
||||
{
|
||||
if (_sourceSql != null) return this.RawExecuteAffrows();
|
||||
var affrows = 0;
|
||||
var ss = SplitSourceByIdentityValueIsNull(_source);
|
||||
try
|
||||
@ -408,6 +409,7 @@ namespace FreeSql.Internal.CommonProvider
|
||||
}
|
||||
async public Task<int> ExecuteAffrowsAsync(CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (_sourceSql != null) return this.RawExecuteAffrows();
|
||||
var affrows = 0;
|
||||
var ss = SplitSourceByIdentityValueIsNull(_source);
|
||||
try
|
||||
|
Loading…
x
Reference in New Issue
Block a user