public Spartane.Core.Classes.Spartan_User_Role_Status.Spartan_User_Role_StatusPagingModel 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.SpListSelAllSpartan_User_Role_Status>("sp_ListSelAll_Spartan_User_Role_Status", padWhere, padOrder, padstartRowIndex, padmaximumRows); Spartan_User_Role_StatusPagingModel result = null; if (data != null) { result = new Spartan_User_Role_StatusPagingModel { Spartan_User_Role_Statuss = data.Select(m => new Spartane.Core.Classes.Spartan_User_Role_Status.Spartan_User_Role_Status { User_Role_Status_Id = m.Spartan_User_Role_Status_User_Role_Status_Id , Description = m.Spartan_User_Role_Status_Description //,Id = m.Id }).ToList() }; } return(result); }
public Spartane.Core.Domain.Spartan_User_Role_Status.Spartan_User_Role_StatusPagingModel ListaSelAll(int startRowIndex, int maximumRows, string Where, string Order) { Spartan_User_Role_StatusPagingModel result = null; return(result); }