[fluent-nhib] Re: XML manipulation in FNH

2009-02-05 Thread Paul Batum
Indeed I am! Stay tuned :) On Thu, Feb 5, 2009 at 8:47 AM, James Gregory wrote: > You get that exception when then ordering is incorrect in the XML, this > sounds like a bug. > The idea of a model between the mapping and XML is one we're already in the > process of tackling, Paul Batum is working

[fluent-nhib] Re: Prevent AutoPersistenceModel from add a mapping for the base class

2009-02-05 Thread Steven Harman
try using a WithConvention expression: .WithConvention(c => c.IsBaseType = type => type == typeof(MyBaseType)) -steve // 90% of being smart is knowing what you're dumb at // http://stevenharman.net/ On Thu, Feb 5, 2009 at 3:39 PM, Steve Wagner wrote: > > Hi, all my Domain objects h

[fluent-nhib] Re: Prevent AutoPersistenceModel from add a mapping for the base class

2009-02-05 Thread James Gregory
Chris is correct, but you should read through the wiki as it explains it all. See: Auto Mapping , Auto Mapping Inheritancefor your particular situation, and Auto Mapping Altering Entiti

[fluent-nhib] Re: Prevent AutoPersistenceModel from add a mapping for the base class

2009-02-05 Thread Chris Marisic
I believe what you are looking for is this .WithConvention(c=>c.IsBaseType = baseType => baseType == typeof (SomeBaseObject)) Add that to your creation of the AutoPersistenceModel at some point after the .MapEntitiesFromAssemblyOf<>() statement. On Feb 5, 3:39 pm, Steve Wagner wrote: > Hi, all

[fluent-nhib] Prevent AutoPersistenceModel from add a mapping for the base class

2009-02-05 Thread Steve Wagner
Hi, all my Domain objects have a common generic base class which provides equality. If i use AutoPersistenceModel with them, it adds the base class for each object and then it adds the object itself as joined subclass. How can i prevent this behavior? And second, what is the best way to setup an

[fluent-nhib] Re: Stored Procedure automapping

2009-02-05 Thread Stephen
Another use case (mine) is where you are implimenting FluentNHibernate in a larger corporate environment. We have vendors of black box products that expose certain API's only as stored procedures. There really isn't an option to change this (multi million $ investment) so we have to make do. I

[fluent-nhib] Re: Urgence:How to map this situation?

2009-02-05 Thread Levin
Expect for that:) On Feb 5, 8:10 pm, James Gregory wrote: > Support for using variables in a where clause isn't implemented, as the > exception says. > I'll put this on my list of things todo. > > On Thu, Feb 5, 2009 at 11:49 AM, Levin wrote: > > >It says NotImplementedException: > >

[fluent-nhib] Re: Urgence:How to map this situation?

2009-02-05 Thread James Gregory
Support for using variables in a where clause isn't implemented, as the exception says. I'll put this on my list of things todo. On Thu, Feb 5, 2009 at 11:49 AM, Levin wrote: > >It says NotImplementedException: >--TargetInvocationException >at System.RuntimeMethodHandle._

[fluent-nhib] Re: Urgence:How to map this situation?

2009-02-05 Thread Levin
It says NotImplementedException: --TargetInvocationException at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, R

[fluent-nhib] Re: Public CI Box?

2009-02-05 Thread Brian Mavity
Wow Jeremy, your font is so... big! ;) On Wed, Feb 4, 2009 at 7:23 PM, James Gregory wrote: > Sounds great, thanks Jeremy. I'd heard about it, but not that it was open. > > > On Thu, Feb 5, 2009 at 1:13 AM, Jeremy D. Miller > wrote: > >> Guys, >> >> For CI servers, how about just jumping onto th

[fluent-nhib] Re: New official website

2009-02-05 Thread Brian Mavity
Nice work on the site On Wed, Feb 4, 2009 at 4:14 PM, James Gregory wrote: > Guys, > I've also blogged about this here , but there's now an > official website for Fluent NHibernate. I'd appreciate it if anyone who > links or refers anyone to us could use the new address: > http

[fluent-nhib] Why are you not having this site on nhforge

2009-02-05 Thread mhnyborg
I love the fluent way to do mapping. But I think that it's a bad idea to spread the NH resources. That makes it easy to find all related and valuable NH resources at one place. And thanks for all the great work you are doing for the NH community --~--~-~--~~~---~--~-