mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-26 21:38:32 +08:00
Insertable count=0 AddQueue BUG
This commit is contained in:
@@ -35,8 +35,11 @@ namespace SqlSugar
|
|||||||
#region Core
|
#region Core
|
||||||
public void AddQueue()
|
public void AddQueue()
|
||||||
{
|
{
|
||||||
var sqlObj = this.ToSql();
|
if (this.InsertObjs!=null&&this.InsertObjs.Length > 0&& this.InsertObjs[0]!=null)
|
||||||
this.Context.Queues.Add(sqlObj.Key, sqlObj.Value);
|
{
|
||||||
|
var sqlObj = this.ToSql();
|
||||||
|
this.Context.Queues.Add(sqlObj.Key, sqlObj.Value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
public virtual int ExecuteCommand()
|
public virtual int ExecuteCommand()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user