public Spartane.Core.Classes.Dashboard_Editor.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.SpListSelAllDashboard_Editor>("sp_ListSelAll_Dashboard_Editor", padWhere, padOrder, padstartRowIndex, padmaximumRows); Dashboard_EditorPagingModel result = null; if (data != null) { result = new Dashboard_EditorPagingModel { Dashboard_Editors = data.Select(m => new Spartane.Core.Classes.Dashboard_Editor.Dashboard_Editor { Dashboard_Id = m.Dashboard_Editor_Dashboard_Id , Registration_Date = m.Dashboard_Editor_Registration_Date , Registration_User = m.Dashboard_Editor_Registration_User , Registration_User_Spartan_User = new Core.Classes.Spartan_User.Spartan_User() { Id_User = m.Dashboard_Editor_Registration_User.GetValueOrDefault(), Name = m.Dashboard_Editor_Registration_User_Name } , Name = m.Dashboard_Editor_Name , Dashboard_Template = m.Dashboard_Editor_Dashboard_Template , Dashboard_Template_Template_Dashboard_Editor = new Core.Classes.Template_Dashboard_Editor.Template_Dashboard_Editor() { Template_Id = m.Dashboard_Editor_Dashboard_Template.GetValueOrDefault(), Description = m.Dashboard_Editor_Dashboard_Template_Description } , Show_in_Home = m.Dashboard_Editor_Show_in_Home ?? false , Status = m.Dashboard_Editor_Status , Status_Dashboard_Status = new Core.Classes.Dashboard_Status.Dashboard_Status() { Status_Id = m.Dashboard_Editor_Status.GetValueOrDefault(), Description = m.Dashboard_Editor_Status_Description } , Spartan_Object = m.Dashboard_Editor_Spartan_Object //,Id = m.Id }).ToList() }; } return(result); }
public Spartane.Core.Domain.Dashboard_Editor.Dashboard_EditorPagingModel ListaSelAll(int startRowIndex, int maximumRows, string Where, string Order) { Dashboard_EditorPagingModel result = null; return(result); }