コード例 #1
0
 public static void ExecuteCommand(string sql, ConnectType ConnectType)
 {
     lock (LockO) {
         New_DbHelper.SetConnectType(ConnectType);
         New_DbHelper.ExecuteCommand(sql);
     }
 }
コード例 #2
0
 public static object GetScalar(string sql, ConnectType ConnectType)
 {
     lock (LockO)
     {
         New_DbHelper.SetConnectType(ConnectType);
         return(DBHelper.GetScalar(sql));
     }
 }
コード例 #3
0
 public static DataSet GetDataSet(string sql, ConnectType ConnectType)
 {
     lock (LockO)
     {
         New_DbHelper.SetConnectType(ConnectType);
         return(New_DbHelper.GetDataSet(sql));
     }
 }