mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
Update 达梦
This commit is contained in:
@@ -44,7 +44,12 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
public override string ToSqlString()
|
public override string ToSqlString()
|
||||||
{
|
{
|
||||||
return base.ToSqlString();
|
var result= base.ToSqlString();
|
||||||
|
if (!this.EntityInfo.Columns.Any(it => it.IsIdentity))
|
||||||
|
{
|
||||||
|
result = result.Replace(";select @@identity", "");
|
||||||
|
}
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
//public override string ToSqlString()
|
//public override string ToSqlString()
|
||||||
//{
|
//{
|
||||||
|
Reference in New Issue
Block a user