using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Threading.Tasks; namespace SqlSugar { public interface IDeleteable where T : class, new() { DeleteBuilder DeleteBuilder { get; set; } int ExecuteCommand(); bool ExecuteCommandHasChange(); Task ExecuteCommandAsync(); Task ExecuteCommandHasChangeAsync(); IDeleteable AS(string tableName); IDeleteable With(string lockString); IDeleteable Where(T deleteObj); IDeleteable Where(Expression> expression); IDeleteable Where(List deleteObjs); IDeleteable In(PkType primaryKeyValue); IDeleteable In(PkType[] primaryKeyValues); IDeleteable In(List primaryKeyValues); IDeleteable Where(string whereString,object parameters=null); IDeleteable Where(string whereString, SugarParameter parameter); IDeleteable Where(string whereString, SugarParameter[] parameters); IDeleteable Where(string whereString, List parameters); IDeleteable RemoveDataCache(); KeyValuePair> ToSql(); } }