You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
527 B
18 lines
527 B
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace SqlSugar
|
|
{
|
|
public class OracleUpdateable<T> : UpdateableProvider<T> where T : class, new()
|
|
{
|
|
protected override List<string> 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();
|
|
}
|
|
}
|
|
}
|