sqlsugar/Src/Asp.Net/SqlSugar/Interface/ISubInsertable.cs

16 lines
466 B
C#
Raw Permalink Normal View History

2025-05-11 16:20:50 +08:00
using System;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace SqlSugar
{
public interface ISubInsertable<T>
{
ISubInsertable<T> AddSubList(Expression<Func<T, object>> items);
ISubInsertable<T> AddSubList(Expression<Func<T, SubInsertTree>> tree);
[Obsolete("use ExecuteCommand")]
object ExecuteReturnPrimaryKey();
object ExecuteCommand();
Task<object> ExecuteCommandAsync();
}
}