public Spartane.Core.Classes.Spartan_BR_Testing.Spartan_BR_TestingPagingModel 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_BR_Testing>("sp_ListSelAll_Spartan_BR_Testing", padWhere, padOrder, padstartRowIndex, padmaximumRows); Spartan_BR_TestingPagingModel result = null; if (data != null) { result = new Spartan_BR_TestingPagingModel { Spartan_BR_Testings = data.Select(m => new Spartane.Core.Classes.Spartan_BR_Testing.Spartan_BR_Testing { Key_Testing = m.Spartan_BR_Testing_Key_Testing , User_that_reviewed = m.Spartan_BR_Testing_User_that_reviewed , User_that_reviewed_Spartan_User = new Core.Classes.Spartan_User.Spartan_User() { Id_User = m.Spartan_BR_Testing_User_that_reviewed.GetValueOrDefault(), Name = m.Spartan_BR_Testing_User_that_reviewed_Name } , Acceptance_Critera = m.Spartan_BR_Testing_Acceptance_Critera , It_worked = m.Spartan_BR_Testing_It_worked ?? false , Rejection_Reason = m.Spartan_BR_Testing_Rejection_Reason , Rejection_Reason_Spartan_BR_Rejection_Reason = new Core.Classes.Spartan_BR_Rejection_Reason.Spartan_BR_Rejection_Reason() { Key_Rejection_Reason = m.Spartan_BR_Testing_Rejection_Reason.GetValueOrDefault(), Description = m.Spartan_BR_Testing_Rejection_Reason_Description } , Comments = m.Spartan_BR_Testing_Comments , Evidence = m.Spartan_BR_Testing_Evidence , Business_Rule = m.Spartan_BR_Testing_Business_Rule //,Id = m.Id }).ToList() }; } return(result); }
public Spartane.Core.Domain.Spartan_BR_Testing.Spartan_BR_TestingPagingModel ListaSelAll(int startRowIndex, int maximumRows, string Where, string Order) { Spartan_BR_TestingPagingModel result = null; return(result); }