using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace SqlSugar { public partial interface IInsertable where T :class,new() { InsertBuilder InsertBuilder { get; set; } int ExecuteCommand(); Task ExecuteCommandAsync(); List ExecuteReturnPkList(); Task> ExecuteReturnPkListAsync(); long ExecuteReturnSnowflakeId(); List ExecuteReturnSnowflakeIdList(); Task ExecuteReturnSnowflakeIdAsync(); Task> ExecuteReturnSnowflakeIdListAsync(); int ExecuteReturnIdentity(); Task ExecuteReturnIdentityAsync(); T ExecuteReturnEntity(); Task ExecuteReturnEntityAsync(); bool ExecuteCommandIdentityIntoEntity(); Task ExecuteCommandIdentityIntoEntityAsync(); long ExecuteReturnBigIdentity(); Task ExecuteReturnBigIdentityAsync(); IInsertable AS(string tableName); IInsertable AsType(Type tableNameType); IInsertable With(string lockString); IInsertable InsertColumns(Expression> columns); IInsertable InsertColumns(params string[] columns); IInsertable IgnoreColumns(Expression> columns); IInsertable IgnoreColumns(params string[]columns); IInsertable IgnoreColumns(bool ignoreNullColumn, bool isOffIdentity = false); ISubInsertable AddSubList(Expression> subForeignKey); ISubInsertable AddSubList(Expression> tree); IParameterInsertable UseParameter(); IInsertable CallEntityMethod(Expression> method); IInsertable EnableDiffLogEvent(object businessData = null); IInsertable EnableDiffLogEventIF(bool isDiffLogEvent, object businessData=null); IInsertable RemoveDataCache(); IInsertable RemoveDataCache(string likeString); KeyValuePair> ToSql(); string ToSqlString(); SqlServerBlukCopy UseSqlServer(); MySqlBlukCopy UseMySql(); OracleBlukCopy UseOracle(); SplitInsertable SplitTable(); SplitInsertable SplitTable(SplitType splitType); void AddQueue(); IInsertable MySqlIgnore(); } }