using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Threading.Tasks; namespace SqlSugar { public interface IInsertable { InsertBuilder InsertBuilder { get; set; } int ExecuteCommand(); Task ExecuteCommandAsync(); int ExecuteReturnIdentity(); Task ExecuteReturnIdentityAsync(); T ExecuteReturnEntity(); Task ExecuteReturnEntityAsync(); bool ExecuteCommandIdentityIntoEntity(); Task ExecuteCommandIdentityIntoEntityAsync(); long ExecuteReturnBigIdentity(); Task ExecuteReturnBigIdentityAsync(); IInsertable AS(string tableName); IInsertable With(string lockString); IInsertable InsertColumns(Expression> columns); IInsertable InsertColumns(Func insertColumMethod); IInsertable IgnoreColumns(Expression> columns); IInsertable IgnoreColumns(Func ignoreColumMethod); IInsertable Where(bool isInsertNull, bool isOffIdentity = false); IInsertable RemoveDataCache(); KeyValuePair> ToSql(); } }