|
|
@ -33,10 +33,8 @@ namespace SqlSugar |
|
|
|
void SetCommandToAdapter(IDataAdapter adapter, DbCommand command); |
|
|
|
IDataAdapter GetAdapter(); |
|
|
|
DbCommand GetCommand(string sql, SugarParameter[] parameters); |
|
|
|
Task<int> ExecuteCommandAsync(string sql, params SugarParameter[] parameters); |
|
|
|
Task<IDataReader> GetDataReaderAsync(string sql, params SugarParameter[] parameters); |
|
|
|
Task<IDataReader> GetDataReaderNoCloseAsync(string sql, params SugarParameter[] parameters); |
|
|
|
Task<object> GetScalarAsync(string sql, params SugarParameter[] parameters); |
|
|
|
DataTable GetDataTable(string sql, object parameters); |
|
|
|
DataTable GetDataTable(string sql, params SugarParameter[] parameters); |
|
|
|
DataTable GetDataTable(string sql, List<SugarParameter> parameters); |
|
|
@ -49,9 +47,15 @@ namespace SqlSugar |
|
|
|
object GetScalar(string sql, object parameters); |
|
|
|
object GetScalar(string sql, params SugarParameter[] parameters); |
|
|
|
object GetScalar(string sql, List<SugarParameter> parameters); |
|
|
|
Task<object> GetScalarAsync(string sql, object parameters); |
|
|
|
Task<object> GetScalarAsync(string sql, params SugarParameter[] parameters); |
|
|
|
Task<object> GetScalarAsync(string sql, List<SugarParameter> parameters); |
|
|
|
int ExecuteCommand(string sql, object parameters); |
|
|
|
int ExecuteCommand(string sql, params SugarParameter[] parameters); |
|
|
|
int ExecuteCommand(string sql, List<SugarParameter> parameters); |
|
|
|
Task<int> ExecuteCommandAsync(string sql, params SugarParameter[] parameters); |
|
|
|
Task<int> ExecuteCommandAsync(string sql, object parameters); |
|
|
|
Task<int> ExecuteCommandAsync(string sql, List<SugarParameter> parameters); |
|
|
|
string GetString(string sql, object parameters); |
|
|
|
string GetString(string sql, params SugarParameter[] parameters); |
|
|
|
string GetString(string sql, List<SugarParameter> parameters); |
|
|
@ -69,16 +73,19 @@ namespace SqlSugar |
|
|
|
DateTime GetDateTime(string sql, object parameters); |
|
|
|
DateTime GetDateTime(string sql, params SugarParameter[] parameters); |
|
|
|
DateTime GetDateTime(string sql, List<SugarParameter> parameters); |
|
|
|
List<T> SqlQuery<T>(string sql, object parameters = null); |
|
|
|
|
|
|
|
Tuple<List<T>, List<T2>> SqlQuery<T,T2>(string sql, object parameters = null); |
|
|
|
Tuple<List<T>, List<T2>, List<T3>> SqlQuery<T, T2,T3>(string sql, object parameters = null); |
|
|
|
Tuple<List<T>, List<T2>, List<T3>,List<T4>> SqlQuery<T,T2,T3,T4>(string sql, object parameters = null); |
|
|
|
Tuple<List<T>, List<T2>, List<T3>, List<T4>, List<T5>> SqlQuery<T, T2, T3, T4,T5>(string sql, object parameters = null); |
|
|
|
Tuple<List<T>, List<T2>, List<T3>, List<T4>, List<T5>, List<T6>> SqlQuery<T, T2, T3, T4, T5,T6>(string sql, object parameters = null); |
|
|
|
Tuple<List<T>, List<T2>, List<T3>, List<T4>, List<T5>, List<T6>, List<T7>> SqlQuery<T, T2, T3, T4, T5, T6,T7>(string sql, object parameters = null); |
|
|
|
|
|
|
|
List<T> SqlQuery<T>(string sql, object parameters = null); |
|
|
|
List<T> SqlQuery<T>(string sql, params SugarParameter[] parameters); |
|
|
|
List<T> SqlQuery<T>(string sql, List<SugarParameter> parameters); |
|
|
|
Task<List<T>> SqlQueryAsync<T>(string sql, object parameters = null); |
|
|
|
Task<List<T>> SqlQueryAsync<T>(string sql, List<SugarParameter> parameters); |
|
|
|
Task<List<T>> SqlQueryAsync<T>(string sql, params SugarParameter[] parameters); |
|
|
|
T SqlQuerySingle<T>(string sql, object whereObj = null); |
|
|
|
T SqlQuerySingle<T>(string sql, params SugarParameter[] parameters); |
|
|
|
T SqlQuerySingle<T>(string sql, List<SugarParameter> parameters); |
|
|
|