Latest binaries now have IgnoreBase<T>, and ForTypesThatDeriveFrom<T> is now Override<T> in keeping with the overrides concept<http://wiki.fluentnhibernate.org/Auto_mapping#Overrides> .
On Wed, Aug 19, 2009 at 8:47 AM, James Gregory <[email protected]>wrote: > I agree. IgnoreBase is good for me. > Unless I hear some objections in the next 8 hours, I'll implement this when > I get home tonight. > > > On Wed, Aug 19, 2009 at 5:16 AM, Paul Batum <[email protected]> wrote: > >> Yes I definitely think FNH needs this, the proposed API looks fine. >> >> >> On Wed, Aug 19, 2009 at 10:37 AM, Kevin Dente <[email protected]>wrote: >> >>> >>> I made a comment on Twitter today that turned into a conversation with >>> James, and I figured it would be good to throw it out to the >>> discussion group and get other people's opinions. >>> >>> My comment was that I find it unnecessarily onerous to configure FNHib >>> AutoMapping to exclude mapping of an entity base class (layer >>> supertype). Currently you need to tweak the automapping conventions >>> using something like >>> >>> AutoMap.AssemblyOf<Entity>() >>> .Setup(s => >>> { >>> s.IsBaseType = >>> type => type == typeof(Entity); >>> }) >>> .Where(t => t.Namespace == "Entities"); >>> >>> But it seems to me this is going to be SUCH a common case that it >>> should just be drop-dead simple to configure this directly on the >>> automapper. James seemed amenable, and threw up a pastie of a couple >>> of options: >>> http://pastie.org/587733 >>> >>> I pointed out that the API already uses the term Ignore elsewhere, so >>> sticking with that probably makes sense. Personally, I think I prefer >>> the .IgnoreBase<>() option. >>> >>> What do other people think? Any of those look good? Have better >>> options? >>> >>> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. 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/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
