public Spartane.Core.Classes.Template_Dashboard_Editor.Template_Dashboard_EditorPagingModel 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_Editor>("sp_ListSelAll_Template_Dashboard_Editor", padWhere, padOrder, padstartRowIndex, padmaximumRows); Template_Dashboard_EditorPagingModel result = null; if (data != null) { result = new Template_Dashboard_EditorPagingModel { Template_Dashboard_Editors = data.Select(m => new Spartane.Core.Classes.Template_Dashboard_Editor.Template_Dashboard_Editor { Template_Id = m.Template_Dashboard_Editor_Template_Id , Description = m.Template_Dashboard_Editor_Description , Template_Image_Thumbnail = m.Template_Dashboard_Editor_Template_Image_Thumbnail //,Id = m.Id }).ToList() }; } return(result); }
public Spartane.Core.Domain.Template_Dashboard_Editor.Template_Dashboard_EditorPagingModel ListaSelAll(int startRowIndex, int maximumRows, string Where, string Order) { Template_Dashboard_EditorPagingModel result = null; return(result); }