- 修改 StringLength/MaxLength 对 Oracle varchar2 类型无效的 bug;

This commit is contained in:
28810
2020-03-27 16:51:28 +08:00
parent 7229c08d0d
commit 6fbdbe3327
15 changed files with 149 additions and 8 deletions

View File

@ -14,6 +14,18 @@ namespace FreeSql.Tests.Odbc.PostgreSQL
{
public class PostgreSQLCodeFirstTest
{
[Fact]
public void StringLength()
{
var dll = g.pgsql.CodeFirst.GetComparisonDDLStatements<TS_SLTB>();
g.pgsql.CodeFirst.SyncStructure<TS_SLTB>();
}
class TS_SLTB
{
public Guid Id { get; set; }
[Column(StringLength = 50)]
public string Title { get; set; }
}
[Fact]
public void <EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD>_<EFBFBD>ֶ<EFBFBD>()