pgsql DbFirst 完成未测试;oracle 适配进行中

This commit is contained in:
28810
2019-01-04 19:20:37 +08:00
parent a6e44a4cd1
commit 5eb451fc76
31 changed files with 2267 additions and 424 deletions

View File

@ -0,0 +1,21 @@
using FreeSql.DataAnnotations;
using System;
using Xunit;
namespace FreeSql.Tests.PostgreSQL {
public class PostgreSQLDbFirstTest {
[Fact]
public void GetDatabases() {
var t1 = g.pgsql.DbFirst.GetDatabases();
}
[Fact]
public void GetTablesByDatabase() {
var t2 = g.pgsql.DbFirst.GetTablesByDatabase(g.pgsql.DbFirst.GetDatabases()[1]);
}
}
}