using System.Collections.Generic; using System.Linq; namespace SqlSugar { public class OracleUpdateable : UpdateableProvider where T : class, new() { protected override List GetIdentityKeys() { return this.EntityInfo.Columns.Where(it => it.OracleSequenceName.HasValue()).Select(it => it.DbColumnName).ToList(); } public override int ExecuteCommand() { base.ExecuteCommand(); return base.UpdateObjs.Count(); } } }