mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Remove Check
This commit is contained in:
@@ -367,7 +367,7 @@ namespace SqlSugar
|
||||
if (item.IsIdentity && !item.IsPrimarykey)
|
||||
{
|
||||
item.IsPrimarykey = true;
|
||||
Check.Exception(item.DataType == "integer", "Identity only integer type");
|
||||
//Check.Exception(item.DataType == "integer", "Identity only integer type");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -411,7 +411,7 @@ namespace SqlSugar
|
||||
if (item.IsIdentity && !item.IsPrimarykey)
|
||||
{
|
||||
item.IsPrimarykey = true;
|
||||
Check.Exception(item.DataType == "integer", "Identity only integer type");
|
||||
//Check.Exception(item.DataType == "integer", "Identity only integer type");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user