mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Sqlite Guid
This commit is contained in:
parent
ff84661fff
commit
f51081be32
@ -283,10 +283,10 @@ namespace SqlSugar
|
||||
{
|
||||
foreach (var item in columns)
|
||||
{
|
||||
if (item.DbColumnName.Equals("GUID", StringComparison.CurrentCultureIgnoreCase))
|
||||
{
|
||||
item.Length = 20;
|
||||
}
|
||||
//if (item.DbColumnName.Equals("GUID", StringComparison.CurrentCultureIgnoreCase))
|
||||
//{
|
||||
// item.Length = 20;
|
||||
//}
|
||||
if (item.IsIdentity && !item.IsPrimarykey)
|
||||
{
|
||||
item.IsPrimarykey = true;
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user