0
Answer

Mapping one object to another

Gee Batol

Gee Batol

12y
1.2k
1
Hi folks,

My business layer method returns a list of objects. This method is called by two web methods basically returning the same structure. Now my requirement has changed and one web method requires fewer properties returned in that object. I will create another object entity and just copy the properties that I need. Is there another way of doing this, perhaps thru lambda expression or something?

Thanks