[fluent-nhib] How to set column order

2009-11-23 Thread David Leite
Hello, I am using Fluent NHibernate to generate scripts based on my entidies. I need to create the tables with an specific column order. I've seen some previous posts about the column order issue and I know that the order which the columns are created depends on the level, position and sequence de

[fluent-nhib] Automapping and ManyToManyConvention

2009-11-23 Thread OyvindHansen
Hi I've successfully added a CustomManyToManyConvention which works perfectly with my Automapping The model looks like this: Service 1:M ServiceCountry M:1 Country Where one Service can be available in many Countries, and a Country can be available in many Services This all works neatly when a

[fluent-nhib] Re: Automapping multiple lists of the same type in an Entity - possible bug?

2009-11-23 Thread tbushell
Paul, Many, many thanks for this! I now have working code I can start putting in my application. Also, because you provided a fully working, standalone project, I was able to figure out why I'd been unable to get overrides to work in the past. I had been putting my map override classes (e.g. p

Re: [fluent-nhib] Cannot build session with NHibernate.Cfg.Configuration

2009-11-23 Thread Guido Ziliotti
If your mappings really work with fluent configuration then hibernate.cgf.xml file was not found in the right place. Have you set "Copy always" in "Copy To Output Directory" via hibernate.cgf.xml Properties in Visual Studio for example? On Tue, Nov 10, 2009 at 8:03 PM, devonlazarus wrote: > > I'