mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Update 达梦 CodeFirst
This commit is contained in:
@@ -58,6 +58,12 @@ namespace SqlSugar
|
||||
{
|
||||
result.DataType = item.DataType;
|
||||
}
|
||||
else if (item.DataType == null && item.UnderType == UtilConstants.LongType)
|
||||
{
|
||||
result.Length = 0;
|
||||
result.DecimalDigits = 0;
|
||||
result.DataType = "NUMBER(19,0)";
|
||||
}
|
||||
else if (propertyType.IsEnum())
|
||||
{
|
||||
result.DataType = this.Context.Ado.DbBind.GetDbTypeName(item.Length > 9 ? UtilConstants.LongType.Name : UtilConstants.IntType.Name);
|
||||
|
Reference in New Issue
Block a user