Re: [fluent-nhib] Re: Multiple .UseOverrideFromAssemblyOf in the same AutoPersistenceModel

2010-11-16 Thread Asbjørn Ulsberg
Sure. It's just to derive from AutoPersistenceModel: public class MyAutoPersistenceModel : AutoPersistenceModel { public MyAutoPersistenceModel() : base(new MyAutomappingConfiguration()) { Conventions.Add(); AddEntityAssembly(typeof(SomeEntity).Assembly); } }

[fluent-nhib] Re: Multiple .UseOverrideFromAssemblyOf in the same AutoPersistenceModel

2010-11-08 Thread cornflex
Can you post a code example of this solution? Would be much appreciated. tnx in advance. On Oct 6, 8:32 pm, Asbjørn Ulsberg wrote: > On Wed, 07 Jul 2010 14:09:00 +0200, Roberto Hernández   > > wrote: > > It seems to be from my testing that only the overrides that are specified > > last are app

[fluent-nhib] Re: Multiple .UseOverrideFromAssemblyOf in the same AutoPersistenceModel

2010-07-26 Thread Łukasz Podolak
I have just found the same problem with my mappings, that come from multiple assemblies, how should we handle this situtation ? thanks, Łukasz Podolak On 7 Lip, 14:09, Roberto Hernández wrote: > Can the .UseOverrideFromAssemblyOf setting be specified multiple times in > a single AutoPersistenceMo