mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
-
This commit is contained in:
@@ -48,6 +48,9 @@ namespace OrmTest
|
|||||||
|
|
||||||
//by expression
|
//by expression
|
||||||
var t5 = db.Deleteable<Student>().Where(it=>it.Id==1).ToSql();
|
var t5 = db.Deleteable<Student>().Where(it=>it.Id==1).ToSql();
|
||||||
|
base.Check(@"DELETE FROM [Student] WHERE ( [Id] = @Id0 ) ", new List<SugarParameter>() {
|
||||||
|
new SugarParameter("@Id0",1)
|
||||||
|
}, t5.Key, t5.Value, "Delte t5 error");
|
||||||
}
|
}
|
||||||
|
|
||||||
public SqlSugarClient GetInstance()
|
public SqlSugarClient GetInstance()
|
||||||
|
Reference in New Issue
Block a user