How to set Object's properties and its value if that Object is a property of Object that is inside of the List using Reflections
问题 I had a similar question before, but this one will need a different solution. I have object on my Model and object on my service. I need to set value of Model's object property to a value of properties coming from the service's List<TicketReportPropertyEntity> if both objects' properties are the same. This is a Model: public class MyModel{ public ObjectAEntity ObjectAData { get; set; } public ObjectBEntity ObjectBData { get; set; } } ObjectAEntity has a property called "SalesAmount" This is a