Update Queue

This commit is contained in:
sunkaixuan
2019-04-10 08:03:06 +08:00
parent c474368f2c
commit f981f49fa0
2 changed files with 25 additions and 4 deletions

View File

@@ -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>();