- 修复 FreeSql.DbContext 对同一实体重复 Update,第二次无效的 Bug;

This commit is contained in:
28810
2020-09-14 11:33:20 +08:00
parent ad12402926
commit 704e59bf21
4 changed files with 31 additions and 19 deletions

View File

@ -36,6 +36,11 @@ namespace FreeSql.Tests.Firebird
public void ExistsTable()
{
var fsql = g.firebird;
try
{
fsql.Ado.ExecuteNonQuery("drop table test_existstb011");
}
catch { }
Assert.False(fsql.DbFirst.ExistsTable("test_existstb011"));
Assert.False(fsql.DbFirst.ExistsTable("test_existstb011", false));
fsql.CodeFirst.SyncStructure(typeof(test_existstb011));