mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-03 12:18:00 +08:00
Update Code first
This commit is contained in:
parent
c6bbd15552
commit
d5fc3be4d5
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user