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