public Spartane.Core.Classes.Template_Dashboard_Detail.Template_Dashboard_DetailPagingModel 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.SpListSelAllTemplate_Dashboard_Detail>("sp_ListSelAll_Template_Dashboard_Detail", padWhere, padOrder, padstartRowIndex, padmaximumRows); Template_Dashboard_DetailPagingModel result = null; if (data != null) { result = new Template_Dashboard_DetailPagingModel { Template_Dashboard_Details = data.Select(m => new Spartane.Core.Classes.Template_Dashboard_Detail.Template_Dashboard_Detail { Detail_Id = m.Template_Dashboard_Detail_Detail_Id , Template = m.Template_Dashboard_Detail_Template , Row_Number = m.Template_Dashboard_Detail_Row_Number , Columns = m.Template_Dashboard_Detail_Columns //,Id = m.Id }).ToList() }; } return(result); }
public Spartane.Core.Domain.Template_Dashboard_Detail.Template_Dashboard_DetailPagingModel ListaSelAll(int startRowIndex, int maximumRows, string Where, string Order) { Template_Dashboard_DetailPagingModel result = null; return(result); }