We are trying, in runtime, to generate a dynamic class which
represents a table that has different fields in each database. We know
which fields and of what types are defined reading it from the
database.
With the AssemblyBuilder we generate this dynamic class and thru
reflection of the ModelMapper we have mapped the primary key and
fields of this entity. Everything works fine so far, but as soon as we
add the mapping to the configuration using:
configuration.AddDeserializedMapping(mapper.CompileMappingForAllExplicitlyAddedEntities(),
null);
it generates a MappingException - “Could not compile deserialized
mapping document” with no StackTrace available (The "View Detail..."
in the exception popup of Visual Studio is grayed out)
Any ideas?

-- 
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.

Reply via email to