mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
- 移除 IUpdate/IDelete WhereExists 方法;
This commit is contained in:
@ -56,11 +56,6 @@ namespace FreeSql.Tests.Odbc.MySql
|
||||
|
||||
sql = delete.Where(items).ToSql().Replace("\r\n", "");
|
||||
Assert.Equal("DELETE FROM `tb_topic` WHERE (`Id` IN (1,2,3,4,5,6,7,8,9,10))", sql);
|
||||
}
|
||||
[Fact]
|
||||
public void WhereExists()
|
||||
{
|
||||
|
||||
}
|
||||
[Fact]
|
||||
public void ExecuteAffrows()
|
||||
|
@ -173,11 +173,6 @@ namespace FreeSql.Tests.Odbc.MySql
|
||||
sql = g.mysql.Update<TestEnumUpdateTb>().NoneParameter().Where(a => a.id == 0 && a.type == TestEnumUpdateTbType.str1)
|
||||
.Set(a => a.type, TestEnumUpdateTbType.sum211).ToSql().Replace("\r\n", "");
|
||||
Assert.Equal("UPDATE `TestEnumUpdateTb` SET `type` = 'sum211' WHERE (`id` = 0 AND `type` = 'str1')", sql);
|
||||
}
|
||||
[Fact]
|
||||
public void WhereExists()
|
||||
{
|
||||
|
||||
}
|
||||
[Fact]
|
||||
public void ExecuteAffrows()
|
||||
|
Reference in New Issue
Block a user