- 增加 FreeSql.Provider.Firebird 数据库实现 #443;

This commit is contained in:
28810
2020-09-12 05:46:53 +08:00
parent 020eddb315
commit 951e917015
55 changed files with 12407 additions and 211 deletions

View File

@@ -106,6 +106,9 @@ namespace FreeSql.Internal.CommonProvider
case DataType.OdbcOracle:
ExecuteNonQuery(" SELECT 1 FROM dual");
return true;
case DataType.Firebird:
ExecuteNonQuery(" SELECT FIRST 1 1 FROM rdb$database");
return true;
}
ExecuteNonQuery(" SELECT 1");
return true;

View File

@@ -24,6 +24,9 @@ namespace FreeSql.Internal.CommonProvider
case DataType.OdbcOracle:
await ExecuteNonQueryAsync(" SELECT 1 FROM dual");
return true;
case DataType.Firebird:
await ExecuteNonQueryAsync(" SELECT FIRST 1 1 FROM rdb$database");
return true;
}
await ExecuteNonQueryAsync(" SELECT 1");
return true;