mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-19 17:51:36 +08:00
Sqlite Guid
This commit is contained in:
@@ -283,10 +283,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
foreach (var item in columns)
|
foreach (var item in columns)
|
||||||
{
|
{
|
||||||
if (item.DbColumnName.Equals("GUID", StringComparison.CurrentCultureIgnoreCase))
|
//if (item.DbColumnName.Equals("GUID", StringComparison.CurrentCultureIgnoreCase))
|
||||||
{
|
//{
|
||||||
item.Length = 20;
|
// item.Length = 20;
|
||||||
}
|
//}
|
||||||
if (item.IsIdentity && !item.IsPrimarykey)
|
if (item.IsIdentity && !item.IsPrimarykey)
|
||||||
{
|
{
|
||||||
item.IsPrimarykey = true;
|
item.IsPrimarykey = true;
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user