public Spartane.Core.Classes.MS_Tiempos_de_Comida_Platillos.MS_Tiempos_de_Comida_PlatillosPagingModel 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_Tiempos_de_Comida_Platillos>("sp_ListSelAll_MS_Tiempos_de_Comida_Platillos", padWhere, padOrder, padstartRowIndex, padmaximumRows); MS_Tiempos_de_Comida_PlatillosPagingModel result = null; if (data != null) { result = new MS_Tiempos_de_Comida_PlatillosPagingModel { MS_Tiempos_de_Comida_Platilloss = data.Select(m => new Spartane.Core.Classes.MS_Tiempos_de_Comida_Platillos.MS_Tiempos_de_Comida_Platillos { Folio = m.MS_Tiempos_de_Comida_Platillos_Folio , Folio_Platillos = m.MS_Tiempos_de_Comida_Platillos_Folio_Platillos , Tiempo_de_Comida = m.MS_Tiempos_de_Comida_Platillos_Tiempo_de_Comida , Tiempo_de_Comida_Tiempos_de_Comida = new Core.Classes.Tiempos_de_Comida.Tiempos_de_Comida() { Clave = m.MS_Tiempos_de_Comida_Platillos_Tiempo_de_Comida.GetValueOrDefault(), Comida = m.MS_Tiempos_de_Comida_Platillos_Tiempo_de_Comida_Comida } //,Id = m.Id }).ToList() }; } return(result); }
public Spartane.Core.Domain.MS_Tiempos_de_Comida_Platillos.MS_Tiempos_de_Comida_PlatillosPagingModel ListaSelAll(int startRowIndex, int maximumRows, string Where, string Order) { MS_Tiempos_de_Comida_PlatillosPagingModel result = null; return(result); }