public Spartane.Core.Domain.Spartan_BR_Actions_False_Detail.Spartan_BR_Actions_False_DetailPagingModel ListaSelAll(int startRowIndex, int maximumRows, string Where, string Order) { Spartan_BR_Actions_False_DetailPagingModel result = null; return(result); }
public Spartane.Core.Classes.Spartan_BR_Actions_False_Detail.Spartan_BR_Actions_False_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.SpListSelAllSpartan_BR_Actions_False_Detail>("sp_ListSelAll_Spartan_BR_Actions_False_Detail", padWhere, padOrder, padstartRowIndex, padmaximumRows); Spartan_BR_Actions_False_DetailPagingModel result = null; if (data != null) { result = new Spartan_BR_Actions_False_DetailPagingModel { Spartan_BR_Actions_False_Details = data.Select(m => new Spartane.Core.Classes.Spartan_BR_Actions_False_Detail.Spartan_BR_Actions_False_Detail { ActionsFalseDetailId = m.Spartan_BR_Actions_False_Detail_ActionsFalseDetailId , Business_Rule = m.Spartan_BR_Actions_False_Detail_Business_Rule , Action_Classification = m.Spartan_BR_Actions_False_Detail_Action_Classification , Action_Classification_Spartan_BR_Action_Classification = new Core.Classes.Spartan_BR_Action_Classification.Spartan_BR_Action_Classification() { ClassificationId = m.Spartan_BR_Actions_False_Detail_Action_Classification.GetValueOrDefault(), Description = m.Spartan_BR_Actions_False_Detail_Action_Classification_Description } , Action = m.Spartan_BR_Actions_False_Detail_Action , Action_Spartan_BR_Action = new Core.Classes.Spartan_BR_Action.Spartan_BR_Action() { ActionId = m.Spartan_BR_Actions_False_Detail_Action.GetValueOrDefault(), Description = m.Spartan_BR_Actions_False_Detail_Action_Description } , Action_Result = m.Spartan_BR_Actions_False_Detail_Action_Result , Action_Result_Spartan_BR_Action_Result = new Core.Classes.Spartan_BR_Action_Result.Spartan_BR_Action_Result() { ActionResultId = m.Spartan_BR_Actions_False_Detail_Action_Result.GetValueOrDefault(), Description = m.Spartan_BR_Actions_False_Detail_Action_Result_Description } , Parameter_1 = m.Spartan_BR_Actions_False_Detail_Parameter_1 , Parameter_2 = m.Spartan_BR_Actions_False_Detail_Parameter_2 , Parameter_3 = m.Spartan_BR_Actions_False_Detail_Parameter_3 , Parameter_4 = m.Spartan_BR_Actions_False_Detail_Parameter_4 , Parameter_5 = m.Spartan_BR_Actions_False_Detail_Parameter_5 //,Id = m.Id }).ToList() }; } return(result); }