Update oracle code first

This commit is contained in:
sunkaixuan 2023-05-08 22:28:39 +08:00
parent 96f1364ebe
commit d3e641a6ee

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
{ {