Well I found myself: I was using mapper.CompileMappingForAllExplicitlyAddedEntities();
I can achieve what i need by using mapper.CompileMappingFor(...) and passing the needed types. On Sep 1, 11:59 am, FaticaLabs <[email protected]> wrote: > Hi all, > I have a scenario in which I suppose I can handle the whole mapping by > conventions. So a custom model inspector plus the model mapper events > should allow me to do all the job. I eventually end with having all > empty ClassMapping<T> for each entity in the model, just to being able > to feed the ModelMapper, that accepts just classes implementing > IConformistHolderProvider. Is there some way to tell ModelMapper to > map a suite of entity directly ? My model inspector would care about > specifyng properies, id's and so on. > Thanks ! -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
