public T SelectById(string id)
 {
     // null is returned if not found
     return(db.SelectById <T>(typeof(T), id));
 }