Re: [fluent-nhib] Re: Automap inner class

2010-06-21 Thread James Gregory
This is by design. Arguably a bad design. If you want to use nested classes you'll need to modify the FNH code (and preferably send us a pull request). Sent from my jelly bone On 21 Jun 2010, at 21:04, Martin Nilsson wrote: > Anyone? > In AutoPersistenceModel.CompileMappings at row 143 there i

[fluent-nhib] Re: Automap inner class

2010-06-21 Thread Martin Nilsson
Anyone? In AutoPersistenceModel.CompileMappings at row 143 there is this code: foreach (var type in mappingTypes) { if (!type.Type.IsClass || !IsNotInnerClass(type)) continue; if (type.IsMapped) continue; AddMapping(type.Type); } IsNotInnerClass seems to be the issue but I don't unde