Child mapping type question

Dec 24, 2012 at 4:12 PM

 

i have a class

Boo {string Name}

BooModel { string Name} // same properties as Boo

Foo {int age, Boo boo}

FooModel {int age, BooModel boo}

 

FooModel.InjectFrom(Foo).InjectFrom(Foo.boo);

here FooModel.boo is null even though Foo.boo has value. so how to map Foo.Boo to FooModel.BooModel

 

thanks

ashraf