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.

13 lines
378 B

2 years ago
  1. using System.Collections.Generic;
  2. using System.Linq;
  3. namespace SqlSugar
  4. {
  5. public class OracleDeleteable<T>:DeleteableProvider<T> where T:class,new()
  6. {
  7. protected override List<string> GetIdentityKeys()
  8. {
  9. return this.EntityInfo.Columns.Where(it => it.OracleSequenceName.HasValue()).Select(it => it.DbColumnName).ToList();
  10. }
  11. }
  12. }