Re: Adding and associating an nhibernate facility programmatically

2009-05-03 Thread Yannis
whats hte point then? i want to configure nhibernate properties programmatically On May 2, 5:17 pm, Tuna Toksoz tehl...@gmail.com wrote: Please have the configuration for the facility in xml and set the ConfigurationBuilder in the xml, and in the IConfigurationBuilder set the properties as

Re: AR: Saving parent but not all children

2009-05-03 Thread Markus Zywitza
Hi Flo 1. Do you have a single session scope spanning the read and save operations? If there is no shared 1st level cache, NH assumes it has to update the entity. 2. Are you using IDENTITY fields? -Markus 2009/4/29 Flominator flomina...@gmx.net Hi Markus, thanks for your reply. I will try

Re: wrong result using enum

2009-05-03 Thread Markus Zywitza
That's expected, the query uses an outer join, thus yielding 11 rows in the result. Please search for DistinctRootEntityResultTransformer and NHibernate for details. -Markus 2009/4/30 chitech khuon...@gmail.com Let say I got this code: [ActiveRecord] public class Case {

Re: Composite indexes

2009-05-03 Thread Markus Zywitza
I don't know whether it is possible, but patches are appreciated. -Markus 2009/4/30 Flominator flomina...@gmx.net Hi Markus, thanks again for your help. What about a feature that would introduce UniqueKey to HasMany. Would you consider that a good idea? Just curious. Regards, Flo On

Re: Adding and associating an nhibernate facility programmatically

2009-05-03 Thread Tuna Toksoz
Wait until my laptop returns from the repair. On Mon, May 4, 2009 at 12:05 AM, Yannis yannis.psar...@gmail.com wrote: whats hte point then? i want to configure nhibernate properties programmatically On May 2, 5:17 pm, Tuna Toksoz tehl...@gmail.com wrote: Please have the configuration for

Re: Adding and associating an nhibernate facility programmatically

2009-05-03 Thread Tuna Toksoz
BTW, what do you mean by nhibernate properties? connection string etc? On Mon, May 4, 2009 at 12:05 AM, Yannis yannis.psar...@gmail.com wrote: whats hte point then? i want to configure nhibernate properties programmatically On May 2, 5:17 pm, Tuna Toksoz tehl...@gmail.com wrote: Please