mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 12:28:15 +08:00
- 修复 FreeSql.DbContext 对同一实体重复 Update,第二次无效的 Bug;
This commit is contained in:
@ -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));
|
||||
|
Reference in New Issue
Block a user