public IEnumerable <T> SelectAll()
 {
     return((IEnumerable <T>)db.SelectAll(typeof(T)));
 }