- 优化 pgsql DbFirst 序列的识别,以及 pgsql10 的自增识别;

This commit is contained in:
28810
2020-08-02 20:00:39 +08:00
parent 552926dd96
commit 51c6a733bc
11 changed files with 78 additions and 10 deletions

View File

@ -1,5 +1,6 @@
using FreeSql.DataAnnotations;
using System;
using System.Linq;
using Xunit;
namespace FreeSql.Tests.Odbc.PostgreSQL
@ -20,6 +21,9 @@ namespace FreeSql.Tests.Odbc.PostgreSQL
var t2 = g.pgsql.DbFirst.GetTablesByDatabase(g.pgsql.DbFirst.GetDatabases()[2]);
var tb_alltype = t2.Where(a => a.Name == "tb_alltype").FirstOrDefault();
var tb_identity = t2.Where(a => a.Name == "test_new").FirstOrDefault();
}
}
}