public static void ExecuteCommand(string sql, ConnectType ConnectType) { lock (LockO) { New_DbHelper.SetConnectType(ConnectType); New_DbHelper.ExecuteCommand(sql); } }
public static object GetScalar(string sql, ConnectType ConnectType) { lock (LockO) { New_DbHelper.SetConnectType(ConnectType); return(DBHelper.GetScalar(sql)); } }
public static DataSet GetDataSet(string sql, ConnectType ConnectType) { lock (LockO) { New_DbHelper.SetConnectType(ConnectType); return(New_DbHelper.GetDataSet(sql)); } }