mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 13:06:50 +08:00
Update Check
This commit is contained in:
parent
223dfbcf84
commit
fb1269eba4
@ -366,8 +366,7 @@ namespace SqlSugar
|
||||
//}
|
||||
if (item.IsIdentity && !item.IsPrimarykey)
|
||||
{
|
||||
item.IsPrimarykey = true;
|
||||
//Check.Exception(item.DataType == "integer", "Identity only integer type");
|
||||
Check.Exception(true, "Identity only primary key");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -410,8 +410,7 @@ namespace SqlSugar
|
||||
//}
|
||||
if (item.IsIdentity && !item.IsPrimarykey)
|
||||
{
|
||||
item.IsPrimarykey = true;
|
||||
//Check.Exception(item.DataType == "integer", "Identity only integer type");
|
||||
Check.Exception(true, "Identity only primary key");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user