mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
-
This commit is contained in:
parent
b41f30f878
commit
f3a2490672
@ -69,7 +69,8 @@ namespace SqlSugar
|
||||
db.CurrentConnectionConfig.MoreSettings = new ConnMoreSettings();
|
||||
db.CurrentConnectionConfig.MoreSettings.DisableNvarchar = true;
|
||||
var sql= db.Insertable(insertData).ToSqlString();
|
||||
return (await ExecuteCommandAsync(sql)).ToUpper().Contains("OK")?1:0;
|
||||
var result = await ExecuteCommandAsync(sql);
|
||||
return result.ToUpper().Contains("OK")?1:0;
|
||||
}
|
||||
|
||||
public int BulkCopy<T>(T insertData) where T : class, new()
|
||||
|
Loading…
Reference in New Issue
Block a user