mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 移除 IUpdate/IDelete WhereExists 方法;
This commit is contained in:
@ -57,11 +57,6 @@ namespace FreeSql.Tests.Odbc.SqlServer
|
||||
|
||||
sql = delete.Where(items).ToSql().Replace("\r\n", "");
|
||||
Assert.Equal("DELETE FROM [tb_topic22211] WHERE ([Id] IN (1,2,3,4,5,6,7,8,9,10))", sql);
|
||||
}
|
||||
[Fact]
|
||||
public void WhereExists()
|
||||
{
|
||||
|
||||
}
|
||||
[Fact]
|
||||
public void ExecuteAffrows()
|
||||
|
@ -115,11 +115,6 @@ namespace FreeSql.Tests.Odbc.SqlServer
|
||||
for (var a = 0; a < 10; a++) items.Add(new Topic { Id = a + 1, Title = $"newtitle{a}", Clicks = a * 100 });
|
||||
sql = update.Where(items).SetRaw("title='newtitle'").ToSql().Replace("\r\n", "");
|
||||
Assert.Equal("UPDATE [tb_topic] SET title='newtitle' WHERE ([Id] IN (1,2,3,4,5,6,7,8,9,10))", sql);
|
||||
}
|
||||
[Fact]
|
||||
public void WhereExists()
|
||||
{
|
||||
|
||||
}
|
||||
[Fact]
|
||||
public void ExecuteAffrows()
|
||||
|
Reference in New Issue
Block a user