Hello guys.
Just one thing regarding the version support and the baseclass inheritance problem: does it work when you need to customize the mappings? Remember my version + timestamp (sql server) problem? I had to give up on automapping because when I added the custom version entry for each of my entities the sql generated would always use the base class Id name instead of the derive class. Ex.: I had B which inherits form A and I wanted to generate mappings for B. And yes, I did add the c.IsBaseType entry to my conventions while defining the auto persistence model. The problem was that since I was adding a mapping entry for B so that I could set up the version to my custom type, it ended up using IdA for the sql instead of IdB. I’ve ended up using manual mappings because of this since I didn’t really had any more free time to play with it. Luis From: fluent-nhibernate@googlegroups.com [mailto:fluent-nhibern...@googlegroups.com] On Behalf Of Andrew Stewart Sent: terça-feira, 13 de Janeiro de 2009 09:14 To: fluent-nhibernate@googlegroups.com Subject: [fluent-nhib] Re: Difficulty integrating into AutoPersistenceModel into S#arp Architecture Doesn't look to hard to support though, quick recap: - Pluralisation, although we don't support, I've successfully achieved this using the below: http://andrewpeters.net/inflectornet/ - Baseclass for inheritance can be set using the following convention: c.IsBaseType = b => b == typeof(BaseEntity); - Anonymous Classes, I have an patch for this here, I'll get it applied to the trunk. If I get approved on there list I'll send this accross. Andy On Tue, Jan 13, 2009 at 9:06 AM, Andrew Stewart <andrew.stew...@i-nnovate.net> wrote: Same here On Tue, Jan 13, 2009 at 9:03 AM, James Gregory <jagregory....@gmail.com> wrote: Awaiting approval :) On Tue, Jan 13, 2009 at 3:52 AM, <wmccaffe...@gmail.com> wrote: We have been using Fluent NHibernate within S#arp Architecture and absolutely love it. A few of us have taken a stab at integrating the AutoPersistenceModel into the framework with varying success. Would someone very familiar with AutoPersistenceModel be able to lend us a hand? The discussion concerning this is at http://groups.google.com/group/sharp-architecture/browse_thread/thread/d528e 6dcb70def3a Thank you for any help or insight that you might be able to provide! Billy McCafferty -- ================= I-nnovate Software - Bespoke Software Development, uk wirral. http://www.i-nnovate.net -- ================= I-nnovate Software - Bespoke Software Development, uk wirral. http://www.i-nnovate.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to fluent-nhibernate@googlegroups.com To unsubscribe from this group, send email to fluent-nhibernate+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---