public Spartane.Core.Classes.MS_Exclusion_Ingredientes_Paciente.MS_Exclusion_Ingredientes_PacientePagingModel ListaSelAll(int startRowIndex, int maximumRows, string Where, string Order) { var padstartRowIndex = _dataProvider.GetParameter(); padstartRowIndex.ParameterName = "startRowIndex"; padstartRowIndex.DbType = DbType.Int32; padstartRowIndex.Value = startRowIndex; var padmaximumRows = _dataProvider.GetParameter(); padmaximumRows.ParameterName = "maximumRows"; padmaximumRows.DbType = DbType.Int32; padmaximumRows.Value = maximumRows; var padWhere = _dataProvider.GetParameter(); padWhere.ParameterName = "Where"; padWhere.DbType = DbType.String; padWhere.Value = Where; var padOrder = _dataProvider.GetParameter(); padOrder.ParameterName = "Order"; padOrder.DbType = DbType.String; padOrder.Value = Order; var data = _dbContext.ExecuteStoredProcedureList <Spartane.Core.Classes.StoredProcedure.SpListSelAllMS_Exclusion_Ingredientes_Paciente>("sp_ListSelAll_MS_Exclusion_Ingredientes_Paciente", padWhere, padOrder, padstartRowIndex, padmaximumRows); MS_Exclusion_Ingredientes_PacientePagingModel result = null; if (data != null) { result = new MS_Exclusion_Ingredientes_PacientePagingModel { MS_Exclusion_Ingredientes_Pacientes = data.Select(m => new Spartane.Core.Classes.MS_Exclusion_Ingredientes_Paciente.MS_Exclusion_Ingredientes_Paciente { Folio = m.MS_Exclusion_Ingredientes_Paciente_Folio , Folio_Pacientes = m.MS_Exclusion_Ingredientes_Paciente_Folio_Pacientes , Ingrediente = m.MS_Exclusion_Ingredientes_Paciente_Ingrediente , Ingrediente_Ingredientes = new Core.Classes.Ingredientes.Ingredientes() { Clave = m.MS_Exclusion_Ingredientes_Paciente_Ingrediente.GetValueOrDefault(), Nombre_Ingrediente = m.MS_Exclusion_Ingredientes_Paciente_Ingrediente_Nombre_Ingrediente } //,Id = m.Id }).ToList() }; } return(result); }
public Spartane.Core.Domain.MS_Exclusion_Ingredientes_Paciente.MS_Exclusion_Ingredientes_PacientePagingModel ListaSelAll(int startRowIndex, int maximumRows, string Where, string Order) { MS_Exclusion_Ingredientes_PacientePagingModel result = null; return(result); }