Exemple #1
0
 public override bool select()
 {
     if (!isValid(new List<string>() { "prID", "cdID", "cfValue" }))
         return false;
     string sqlCommand = String.Format("select * from Config where cfID={0}", cfID);
     Sql sql = new Sql();
     SqlDataReader reader = sql.selectConfig(sqlCommand);
     reader.Read();
     InitBySqlDataReader(reader);
     sql.closeConnection();
     return true;
 }