mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
pgsql DbFirst 完成未测试;oracle 适配进行中
This commit is contained in:
21
FreeSql.Tests/PostgreSQL/PostgreSQLDbFirstTest.cs
Normal file
21
FreeSql.Tests/PostgreSQL/PostgreSQLDbFirstTest.cs
Normal 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]);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user