Browse Source

-

pull/12/MERGE
sunkaixuan 6 years ago
parent
commit
b0c4f7049f
  1. 2
      Src/Asp.Net/MySqlTest/Demo/Demo6_Queue.cs
  2. 2
      Src/Asp.Net/SqlSugar/Abstract/AdoProvider/AdoProvider.cs

2
Src/Asp.Net/MySqlTest/Demo/Demo6_Queue.cs

@ -43,7 +43,7 @@ namespace OrmTest
db.Queryable<Order>().AddQueue();
db.Queryable<Order>().AddQueue();
// db.AddQueue("select * from [Order] where id=@id", new { id = 10000 });
db.AddQueue("select * from [Order] where id=@id", new { id = 10000 });
var result2 = db.SaveQueues<Order, Order, Order>();
Console.WriteLine("#### Queue End ####");

2
Src/Asp.Net/SqlSugar/Abstract/AdoProvider/AdoProvider.cs

@ -1173,7 +1173,7 @@ namespace SqlSugar
}
catch
{
Check.Exception(true, ErrorMessage.GetThrowMessage("Please reduce the number of T. Save Queue Changes queries don't have so many results", "请减少T的数量,SaveQueueChanges 查询没有这么多结果"));
// Check.Exception(true, ErrorMessage.GetThrowMessage("Please reduce the number of T. Save Queue Changes queries don't have so many results", "请减少T的数量,SaveQueueChanges 查询没有这么多结果"));
}
}
private void ExecuteProcessingSQL(ref string sql, SugarParameter[] parameters)

Loading…
Cancel
Save