Hi

I want to add a prefix to any table that is created by a mapping-by-code 
convention.

So far I have this:
mapper.BeforeMapClass += (inspector, type, customizer) => 
customizer.Table("crm_" + type.Name);

But I have to do the same for joined subclasses, union subclasses and few 
other cases like tables for many-to-many relations.

Is there any shortcut to add a prefix to any table created by 
ConventionModelMapper?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/5HfC5DKT7DcJ.
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