EdisonCP / sharp-architecture

Automatically exported from code.google.com/p/sharp-architecture
Other
0 stars 0 forks source link

Allow Fluent Conventions to be configured for manually mapped configurations #101

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I would like to use Conventions for my manually mapped Fluent ClassMap<>
entities. Currently Sharp Architecture only supports Conventions for
AutoGenerated entities. 

I believe a change must be made to the NHibernateSession as the conventions
must be configured when Fluent builds the session factory.

This:
m.FluentMappings.AddFromAssembly(assembly);

Should change to something like this:
m.FluentMappings.AddFromAssembly(assembly).ConventionDiscovery.AddAssembly(assem
bly);

Original issue reported on code.google.com by goo...@deap.ca on 21 May 2009 at 11:56

GoogleCodeExporter commented 8 years ago
I have made this change to my local development and will have the fix checked 
in for
the 1.0 RTM release.

Original comment by wmccaffe...@gmail.com on 7 Jun 2009 at 5:37