示例#1
0
 public MySqlDataReader ExecuteReader(string commandText, CommandType commandType, MySqlParameter[] prams)
 {
     return(MySqlHelper.ExecuteReader(this._connectionKeyOrConnectionString, commandText, commandType, prams));
 }
示例#2
0
 public DataSet ExecuteDataSet(string commandText, CommandType commandType, MySqlParameter[] prams)
 {
     return(MySqlHelper.ExecuteDataSet(this._connectionKeyOrConnectionString, commandText, commandType, prams));
 }
示例#3
0
 public int ExecuteNonQuery(string commandText, CommandType commandType, MySqlParameter[] param)
 {
     return(MySqlHelper.ExecuteNonQuery(this._connectionKeyOrConnectionString, commandText, commandType, param));
 }
示例#4
0
 public object ExecuteScalar(string commandText, CommandType commandType, MySqlParameter[] param)
 {
     return(MySqlHelper.ExecuteScalar(this._connectionKeyOrConnectionString, commandText, commandType, param));
 }
示例#5
0
 public static DataTable ExecuteDataTable(string connectionKeyOrConnectionString, string commandText, CommandType commandType)
 {
     return(MySqlHelper.ExecuteDataTable(connectionKeyOrConnectionString, commandText, commandType, null));
 }
示例#6
0
 public static DataSet ExecuteDataSet(string connectionKeyOrConnectionString, string commandText)
 {
     return(MySqlHelper.ExecuteDataSet(connectionKeyOrConnectionString, commandText, CommandType.Text));
 }
示例#7
0
 public static MySqlDataReader ExecuteReader(string connectionKeyOrConnectionString, string commandText)
 {
     return(MySqlHelper.ExecuteReader(connectionKeyOrConnectionString, commandText, CommandType.Text));
 }
示例#8
0
 public static object ExecuteScalar(string connectionKeyOrConnectionString, string commandText, CommandType commandType)
 {
     return(MySqlHelper.ExecuteScalar(connectionKeyOrConnectionString, commandText, commandType, null));
 }
示例#9
0
 public static int ExecuteNonQuery(string connectionKeyOrConnectionString, string commandText, CommandType commandType)
 {
     return(MySqlHelper.ExecuteNonQuery(connectionKeyOrConnectionString, commandText, commandType, null));
 }