mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-22 02:51:58 +08:00
Update 达梦
This commit is contained in:
@@ -52,7 +52,8 @@ namespace SqlSugar
|
|||||||
if (this.IsOffIdentity)
|
if (this.IsOffIdentity)
|
||||||
{
|
{
|
||||||
var tableName = this.GetTableNameString;
|
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;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user