Exemple #1
0
 public static int ExecTransactionThrow(ArrayList dicSql)
 {
     return(SqlProvider.ExecTransactionThrow(SqlProvider.CONN_STRING, dicSql));
 }
Exemple #2
0
 public static string ExecTransactionReturnString(string[] sqlT, params SqlParameter[] commandParameters)
 {
     return(SqlProvider.ExecTransactionReturnString(SqlProvider.CONN_STRING, sqlT, commandParameters));
 }
Exemple #3
0
 public static int ExecTransactionThrow(string sqlT, params SqlParameter[] commandParameters)
 {
     return(SqlProvider.ExecTransactionThrow(SqlProvider.CONN_STRING, new string [] { sqlT }, commandParameters));
 }
Exemple #4
0
 public static bool ExecTransaction(string[] sqlT)
 {
     return(SqlProvider.ExecTransaction(SqlProvider.CONN_STRING, sqlT));
 }
Exemple #5
0
 public static DataSet ExecuteDataSet(string cmdText, params SqlParameter[] commandParameters)
 {
     return(SqlProvider.ExecuteDataSet(SqlProvider.CONN_STRING, CommandType.Text, cmdText, commandParameters));
 }
Exemple #6
0
 public static object ExecuteScalar(string cmdText, params SqlParameter[] commandParameters)
 {
     return(SqlProvider.ExecuteScalar(SqlProvider.CONN_STRING, CommandType.Text, cmdText, commandParameters));
 }
Exemple #7
0
 public static SqlDataReader ExecuteReader(string cmdText, params SqlParameter[] commandParameters)
 {
     return(SqlProvider.ExecuteReader(SqlProvider.CONN_STRING, CommandType.Text, cmdText, commandParameters));
 }
Exemple #8
0
 public static int ExecuteNonQueryByStore(string cmdText, params SqlParameter[] commandParameters)
 {
     return(SqlProvider.ExecuteNonQuery(SqlProvider.CONN_STRING, CommandType.StoredProcedure, cmdText, commandParameters));
 }