I want to put this source & target property in a collection after matching the corresponding value.
The source & target will come from XML & after matching the result will go to collection.
The left side means srcprop is primitive type where as trgprop is complex type.
Reflection needs to be used as I want to work with dynamic.
Source Property(
srcprop)
(Primitive type)
|
Target Property(
trgprop)
(Complex type)
|
Reflection.EntityContextModel.FirstName
|
Reflection.EntityDomainModel.FirstName
|
Reflection.EntityContextModel.LastName
|
Reflection. EntityDomainModel.LastName
|
Reflection.EntityContextModel.City
|
Reflection. EntityDomainModel.HomeAdress.City
|
Reflection.EntityContextModel.Country
|
Reflection. EntityDomainModel. HomeAdress .Country
|