Synchronization code

This commit is contained in:
sunkaixuan 2023-05-08 22:31:32 +08:00
parent 764c1008ca
commit 7bc7ed3efa

View File

@ -1,4 +1,5 @@
using System; using SqlSugar.DbConvert;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
@ -326,6 +327,14 @@ namespace SqlSugar
column.DataType = "varchar(4000)"; column.DataType = "varchar(4000)";
} }
} }
else if (typeof(Nvarchar2PropertyConvert).Equals(sugarColumn.SqlParameterDbType)&&column.DataType==null)
{
column.DataType = "nvarchar2";
if (column.Length == 0)
{
column.Length = 200;
}
}
} }
else else
{ {