mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-27 03:09:34 +08:00
Update Queue
This commit is contained in:
@@ -30,8 +30,10 @@ namespace OrmTest.Demo
|
||||
|
||||
db.Queryable<Student>().AddQueue();
|
||||
db.Queryable<School>().AddQueue();
|
||||
db.AddQueue("select @id", new { id = 1 });
|
||||
var result2 = db.SaveQueues<Student, School, int>();
|
||||
SqlSugar.SugarParameter p = new SqlSugar.SugarParameter("@id",1);
|
||||
db.AddQueue("select @id", p);
|
||||
db.AddQueue("select @id", p);
|
||||
var result2 = db.SaveQueues<Student, School, int,int>();
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user