public List <FCCxCBienoServicio> DATOS_selectAll() { try { var resTemo = bd.pr_FCCxCBienoServicio_SeleccionarTodos(new ObjectParameter("iCodError", "0")); List <FCCxCBienoServicio> res = new List <FCCxCBienoServicio>(); foreach (var r in resTemo) { FCCxCBienoServicio n = new FCCxCBienoServicio() { IdBoS = r.IdBoS, DscBoS = r.DscBoS, IdAuxiliar = r.IdAuxiliar, IdConcepto = r.IdConcepto, FecCreacion = r.FecCreacion, UsrCreacion = r.UsrCreacion, FecUltModif = r.FecUltModif, UsrUltModif = r.UsrUltModif, Id_SP = r.Id_SP }; res.Add(n); } return(res); } catch (Exception ex) { var msgError = ex.Message; } return(null); }
public List <pr_FCCxCBienoServicio> DATOS_SelectAll() { try { List <pr_FCCxCBienoServicio> res = bd.pr_FCCxCBienoServicio_SeleccionarTodos(new ObjectParameter("iCodError", "0")).ToList(); return(res); } catch (Exception ex) { var msgError = ex.Message; } return(null); }