mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-04 04:37:58 +08:00
Synchronization code
This commit is contained in:
parent
c4f26fe189
commit
3f3a8c453f
@ -115,6 +115,10 @@ namespace SqlSugar
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
result.DataType = this.Context.Ado.DbBind.GetDbTypeName(name);
|
result.DataType = this.Context.Ado.DbBind.GetDbTypeName(name);
|
||||||
|
if (name == "Guid" && result.DataType == "varchar"&&result.Length<=1)
|
||||||
|
{
|
||||||
|
result.Length = 36;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user