mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
26 lines
819 B
C#
26 lines
819 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SqlSugar
|
|
{
|
|
public interface IFastest<T> where T:class,new()
|
|
{
|
|
IFastest<T> AS(string tableName);
|
|
IFastest<T> PageSize(int Size);
|
|
int BulkCopy(List<T> datas);
|
|
Task<int> BulkCopyAsync(List<T> datas);
|
|
int BulkCopy(string tableName,DataTable dataTable);
|
|
Task<int> BulkCopyAsync(string tableName, DataTable dataTable);
|
|
|
|
int BulkUpdate(List<T> datas);
|
|
Task<int> BulkUpdateAsync(List<T> datas);
|
|
int BulkUpdate(List<T> datas, string[] whereColumns, string[] updateColumns);
|
|
Task<int> BulkUpdateAsync(List<T> datas, string[] whereColumns, string[] updateColumns);
|
|
|
|
SplitFastest<T> SplitTable();
|
|
}
|
|
}
|