mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Delete Join Sql Bug
This commit is contained in:
@@ -26,7 +26,7 @@ namespace OrmTest
|
||||
// new SelectQuery(1).Init();
|
||||
// new AutoClose(1).Init();
|
||||
// new Insert(1).Init();
|
||||
// new Delete(1).Init();
|
||||
new Delete(1).Init();
|
||||
// new Update(1).Init();
|
||||
// new Mapping(1).Init();
|
||||
// new DataTest(1).Init();
|
||||
|
@@ -51,6 +51,11 @@ namespace OrmTest
|
||||
base.Check(@"DELETE FROM [STudent] WHERE ( [ID] = @Id0 ) ", new List<SugarParameter>() {
|
||||
new SugarParameter("@Id0",1)
|
||||
}, t5.Key, t5.Value, "Delte t5 error");
|
||||
|
||||
var t6 = db.Deleteable<Student>().Where("id=@id",new { id=1}).ToSql();
|
||||
base.Check(@"DELETE FROM [STudent] WHERE id=@id", new List<SugarParameter>() {
|
||||
new SugarParameter("@id",1)
|
||||
}, t6.Key, t6.Value, "Delte t6 error");
|
||||
}
|
||||
|
||||
public SqlSugarClient GetInstance()
|
||||
|
Reference in New Issue
Block a user