public TableRow GetRecord(int rowId) { TableRow e = null; dal.GetRow(rowId, rd => { e = rd.ToEntity <TableRow>(); }); return(e); }