public Spartane.Core.Classes.Dificultad_de_platillos.Dificultad_de_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.SpListSelAllDificultad_de_platillos>("sp_ListSelAll_Dificultad_de_platillos", padWhere, padOrder, padstartRowIndex, padmaximumRows); Dificultad_de_platillosPagingModel result = null; if (data != null) { result = new Dificultad_de_platillosPagingModel { Dificultad_de_platilloss = data.Select(m => new Spartane.Core.Classes.Dificultad_de_platillos.Dificultad_de_platillos { Clave = m.Dificultad_de_platillos_Clave , Categoria = m.Dificultad_de_platillos_Categoria //,Id = m.Id }).ToList() }; } return(result); }
public Spartane.Core.Domain.Dificultad_de_platillos.Dificultad_de_platillosPagingModel ListaSelAll(int startRowIndex, int maximumRows, string Where, string Order) { Dificultad_de_platillosPagingModel result = null; return(result); }