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