Пример #1
0
 public override bool select()
 {
     if (!isValid(new List<string>() { "fInUse", "fScore", "prID" }))
         return false;
     string sqlCommand = String.Format("select * from Feature where fID={0}", fID);
     Sql sql = new Sql();
     SqlDataReader reader = sql.selectFeature(sqlCommand);
     reader.Read();
     InitBySqlDataReader(reader);
     sql.closeConnection();
     return true;
 }