ISubInsertable.cs 466 B

12345678910111213141516
  1. using System;
  2. using System.Linq.Expressions;
  3. using System.Threading.Tasks;
  4. namespace SqlSugar
  5. {
  6. public interface ISubInsertable<T>
  7. {
  8. ISubInsertable<T> AddSubList(Expression<Func<T, object>> items);
  9. ISubInsertable<T> AddSubList(Expression<Func<T, SubInsertTree>> tree);
  10. [Obsolete("use ExecuteCommand")]
  11. object ExecuteReturnPrimaryKey();
  12. object ExecuteCommand();
  13. Task<object> ExecuteCommandAsync();
  14. }
  15. }