mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update Code first
This commit is contained in:
@@ -321,12 +321,18 @@ namespace SqlSugar
|
||||
else if (column.Length > 0)
|
||||
{
|
||||
column.DataType = "varchar";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
column.DataType = "varchar(4000)";
|
||||
}
|
||||
}
|
||||
else if (column.UnderType == typeof(TimeSpan) && column.DataType == null)
|
||||
{
|
||||
column.DataType = "time";
|
||||
column.Length = 0;
|
||||
column.DecimalDigits = 0;
|
||||
}
|
||||
else if (typeof(Nvarchar2PropertyConvert).Equals(sugarColumn.SqlParameterDbType)&&column.DataType==null)
|
||||
{
|
||||
column.DataType = "nvarchar2";
|
||||
|
Reference in New Issue
Block a user