- 移除 IUpdate/IDelete WhereExists 方法;

This commit is contained in:
28810
2019-10-30 18:00:13 +08:00
parent 687db9ed71
commit db7fe82403
33 changed files with 6 additions and 152 deletions

View File

@ -56,11 +56,6 @@ namespace FreeSql.Tests.Odbc.Default
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()

View File

@ -114,11 +114,6 @@ namespace FreeSql.Tests.Odbc.Default
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()