This commit is contained in:
sunkaixuan
2017-05-21 13:48:51 +08:00
parent 43c09f0182
commit 353949d0e4

View File

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