mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-27 13:12:51 +08:00
26 lines
452 B
C#
26 lines
452 B
C#
using FreeSql.DataAnnotations;
|
|
using System;
|
|
using Xunit;
|
|
|
|
namespace FreeSql.Tests.Odbc.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()[2]);
|
|
|
|
}
|
|
}
|
|
}
|