Exemple #1
0
 public override bool select()
 {
     if (!isValid(new List<string>() { "prID", "vID", "irName", "irPath" }))
         return false;
     string sqlCommand = String.Format(@"select * from InnerRoad where irID={0}", irID);
     Sql sql = new Sql();
     SqlDataReader reader = sql.selectInnerRoad(sqlCommand);
     initBySqlDataReader(reader);
     sql.closeConnection();
     return true;
 }