mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-04 04:37:58 +08:00
Update Code first
This commit is contained in:
parent
c6bbd15552
commit
d5fc3be4d5
@ -327,6 +327,12 @@ namespace SqlSugar
|
||||
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