[fluent-nhib] Re: PersistentModel - Make Mappings Property

2009-01-09 Thread James Gregory
Seconded. This isn't the kind of thing you can really do until we uncouple the mapping from the hbm.xml. On Fri, Jan 9, 2009 at 1:58 AM, Paul Batum paul.ba...@gmail.com wrote: Hi Chris, I am afraid that in its current state, even if the mappings were publicly accessible, you would struggle

[fluent-nhib] Re: Fluent NHibernate and the Windsor NHibernate Integration Facility

2009-01-09 Thread Stefan Lieser
Hi Chad, any reason for using 2.0 instead of 2.0.1? Cheers, Stefan Lieser -- http://nhplugin.lieser-online.de Chad Myers schrieb: FYI, there's a Rake target for switching the binaries. From the trunk/ folder, type rake -T. These tasks are of particular interest: rake nhib21

[fluent-nhib] Re: question on auto mapping

2009-01-09 Thread James Gregory
You're missing a call to Configure. Before calling modeloPersistencia. WriteMappingsTo(@d:\); call modeloPersistencia.Configure(nhibernateConfig); On Thu, Jan 8, 2009 at 9:57 PM, Luis Abreu lab...@gmail.com wrote: Btw James, one more question: When using the auto persistence, shouldn't I

[fluent-nhib] Re: question on auto mapping

2009-01-09 Thread Luis Abreu
Ok, that makes sense. Thanks,. --- Luis Abreu From: fluent-nhibernate@googlegroups.com [mailto:fluent-nhibern...@googlegroups.com] On Behalf Of James Gregory Sent: sexta-feira, 9 de Janeiro de 2009 09:39 To: fluent-nhibernate@googlegroups.com Subject: [fluent-nhib] Re: question on

[fluent-nhib] Re: question on auto mapping

2009-01-09 Thread James Gregory
It's because with the AutoMapping, no mappings are actually generated until Configure is called. As for your other issue, I haven't forgotten about it I'm just not near a machine I can debug from. Hopefully tonight or sometime over the weekend I'll get a chance. On Fri, Jan 9, 2009 at 11:45 AM,

[fluent-nhib] Re: question on auto mapping

2009-01-09 Thread Andrew Stewart
Hi james Thanks for looking at this for me. Yeah that makes sense as to why it's producing no xml. Luis are your problems solved now? Unfortunalty there is no automatic way to map your version column at this time, you'll have to take your manual mapping and apply it in the FromDerivedFromClass for

[fluent-nhib] Re: question on auto mapping

2009-01-09 Thread Andrew Stewart
Hi James Yeah that's correct, I think in theory you could even stick that helper method in a loop for all classes in namespace or assembly. Andy On Fri, Jan 9, 2009 at 12:13 PM, James Gregory jagregory@gmail.comwrote: Andrew am I correct in thinking this...

[fluent-nhib] Re: PersistentModel - Make Mappings Property

2009-01-09 Thread James Gregory
There are motions in place for moving away from explicit XML generation in the mapping, so maybe one day you'll be able to do everything you want to. However, it isn't our primary concern currently, and as long as there are major unimplemented NHibernate features, it won't be. That's not to say I

[fluent-nhib] Re: PersistentModel - Make Mappings Property

2009-01-09 Thread Paul Batum
Basically its a long way away because I am lazy :/ If you want to see one possibility, you could have a look at the pb-rewrite branch. As for the visitor case, you should have been able to utilize your own IMappingVisitor without having to change any fluent nhibernate code. You make your own

[fluent-nhib] Re: Automap Inheritance Issue

2009-01-09 Thread bti . timmermans
Troy, I think it's very usefull to combine the automapping with custom mapping to get the best of both worlds. The approach that I'm testing out is defining your custom mapping as a specialization of an automap: eg. My entity customer: public class Customer { public Guid Id

[fluent-nhib] Re: Automap Inheritance Issue

2009-01-09 Thread James Gregory
That's quite an interesting usage pattern I hadn't thought of Bart. Very nice. On Fri, Jan 9, 2009 at 2:06 PM, bti.timmerm...@gmail.com wrote: Troy, I think it's very usefull to combine the automapping with custom mapping to get the best of both worlds. The approach that I'm testing out is

[fluent-nhib] Re: question on auto mapping

2009-01-09 Thread James Gregory
I will still look into this behavior, as it is at the very least misleading. On Fri, Jan 9, 2009 at 7:10 PM, Luis Abreu lab...@gmail.com wrote: Hello guys, Yeah, it looks like now that is the solution for this problem. Using entityBase results in the creation of mappings for entitybase

[fluent-nhib] Re: Fluent NHibernate and the Windsor NHibernate Integration Facility

2009-01-09 Thread Chad Myers
Reason? No one has grabbed the 2.0.1 binaries and put them in yet :) I'll see if I can get this in this weekend if possible, but no guarantees. -c From: fluent-nhibernate@googlegroups.com on behalf of Stefan Lieser Sent: Fri 1/9/2009 3:35 AM To: