- 修改 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

@ -10,6 +10,18 @@ namespace FreeSql.Tests.Odbc.Oracle
{
public class OracleCodeFirstTest
{
[Fact]
public void StringLength()
{
var dll = g.oracle.CodeFirst.GetComparisonDDLStatements<TS_SLTB>();
g.oracle.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>()