public QueryMy(QueryArgs QArgs) { try { using (QArgs) { mConn = new MySqlConnection(QArgs.GetConnectionString()); mConn.Open(); this.mArgs = QArgs; } } catch (Exception ex) { throw ex; } finally { mConn.Close(); } }
public QueryMy(QueryArgs QArgs) { try { using (QArgs) { mConn = new MySqlConnection(QArgs.GetConnectionString()); mConn.Open(); this.mArgs = QArgs; } } catch (Exception ex) { throw ex; } finally { mConn.Close(); } }