Gee Batol

Gee Batol

  • NA
  • 9
  • 14k

Mapping one object to another

Feb 26 2012 11:07 PM
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