mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update 达梦
This commit is contained in:
parent
acda5190ea
commit
01b59e35e9
@ -52,7 +52,8 @@ namespace SqlSugar
|
||||
if (this.IsOffIdentity)
|
||||
{
|
||||
var tableName = this.GetTableNameString;
|
||||
result = $"SET IDENTITY_INSERT {tableName} ON;" + result.TrimEnd(';') + $";SET IDENTITY_INSERT {tableName} OFF"; ;
|
||||
result = $"SET IDENTITY_INSERT {tableName} ON;" + result.TrimEnd(';') + $";SET IDENTITY_INSERT {tableName} OFF";
|
||||
result = result.Replace(";\r\n;", ";");
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user