mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
Update mysql codefirst
This commit is contained in:
parent
00e9864bed
commit
c4f26fe189
@ -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