IEnumerable.select
var algorithms = base.GetEntities<PolicyBaseAlgorithmEntity>(p => list.Contains(p.VersionID)) .Select<PolicyBaseAlgorithmEntity, AccountAlgorithmEntityExtend>(p => { return new AccountAlgorithmEntityExtend { InsuranceStandardID = p.InsuranceStandardID, ItemName = p.InsuranceStandardName, IsOption = p.IsOption, EnterpriseFormula = p.EnterpriseFormula, EnterprisePercentage = p.EnterprisePercentage, EnterprisePercentageMax = p.EnterprisePercentageMax, EnterprisePercentageMin = p.EnterprisePercentageMin, EnterprisePercentageIncrement = p.EnterprisePercentageIncrement, EnterpriseAmount = p.EnterpriseAmount, PersonalFormula = p.PersonalFormula, PersonalPercentage = p.PersonalPercentage, PersonalPercentageMax = p.PersonalPercentageMax, PersonalPercentageMin = p.PersonalPercentageMin, PersonalPercentageIncrement = p.PersonalPercentageIncrement, PersonalAmount = p.PersonalAmount }; });