using System; using System.Collections.Generic; using System.Data; using System.Text; using System.Threading.Tasks; namespace SqlSugar { public interface IFastest where T:class,new() { IFastest RemoveDataCache(); IFastest RemoveDataCache(string cacheKey); IFastest AS(string tableName); IFastest PageSize(int Size); IFastest SetCharacterSet(string CharacterSet); int BulkCopy(List datas); Task BulkCopyAsync(List datas); int BulkCopy(string tableName,DataTable dataTable); int BulkCopy(DataTable dataTable); Task BulkCopyAsync(string tableName, DataTable dataTable); Task BulkCopyAsync(DataTable dataTable); int BulkUpdate(List datas); Task BulkUpdateAsync(List datas); int BulkUpdate(List datas, string[] whereColumns, string[] updateColumns); int BulkUpdate(List datas, string[] whereColumns); Task BulkUpdateAsync(List datas, string[] whereColumns); Task BulkUpdateAsync(List datas, string[] whereColumns, string[] updateColumns); int BulkUpdate(string tableName,DataTable dataTable, string[] whereColumns, string[] updateColumns); int BulkUpdate(DataTable dataTable, string[] whereColumns, string[] updateColumns); int BulkUpdate(DataTable dataTable, string[] whereColumns); Task BulkUpdateAsync(string tableName, DataTable dataTable, string[] whereColumns, string[] updateColumns); Task BulkUpdateAsync(DataTable dataTable, string[] whereColumns); SplitFastest SplitTable(); } }