[fluent-nhib] Re: Automapping many to one

2009-05-26 Thread Darko Konrad
Confirming the issue has been resolved with r531. ty. On May 26, 9:47 pm, James Gregory wrote: > I've just committed a fix for this, let me know if there's any further > issues with it. > > On Tue, May 26, 2009 at 9:00 AM, James Gregory wrote: > > > I think we've just found what this problem is

[fluent-nhib] Re: Automapping many to one

2009-05-26 Thread James Gregory
I've just committed a fix for this, let me know if there's any further issues with it. On Tue, May 26, 2009 at 9:00 AM, James Gregory wrote: > I think we've just found what this problem is in another thread, it's > because conventions aren't being applied to automapped subclasses (and the > conve

[fluent-nhib] Re: Automapping many to one

2009-05-26 Thread James Gregory
I think we've just found what this problem is in another thread, it's because conventions aren't being applied to automapped subclasses (and the conventions are responsible for setting the column names). I should hopefully get a fix in for this tonight. On Tue, May 26, 2009 at 8:53 AM, Darko Konra

[fluent-nhib] Re: Automapping many to one

2009-05-26 Thread Darko Konrad
Hi guys, I am having exactly the same issue like described above with the revision r523 from http://fluentnhibernate.org/downloads James: Can you please advise where to find the fixed version of the library which resolves this issue? Thanks a lot. Great project! On 5 Mai, 23:21, James Gregory

[fluent-nhib] Re: Automapping many to one

2009-05-05 Thread James Gregory
Ricardo: that exception looks very familiar. I committed a fix earlier today that certainly fixed an exception very similar to that, if I were you I'd do an update and double check it isn't already fixed. On Tue, May 5, 2009 at 7:23 PM, Ricardo wrote: > > I believe I am having this same issue.

[fluent-nhib] Re: Automapping many to one

2009-05-05 Thread Ricardo
I believe I am having this same issue. I will post all my info, hoping to help. I'm going to try Kevin's fix for now to see if it works, and if I have time, I'll also attempt to help. I have a Poll that has a list of Answers. If I leave it at that, it works fine. But as soon as I add a many-t

[fluent-nhib] Re: Automapping many to one

2009-04-27 Thread Kevin Dente
OK. This is a stripped down test case, not the original code. The crux seems to be the subclassing: The entities: namespace FNH_Repro.Entities { public class ThingBase : Entity { } public class SpecificThing : ThingBase { public virtual ARelatedThing RelatedThing { ge

[fluent-nhib] Re: Automapping many to one

2009-04-27 Thread Hudson Akridge
Your best bet is to just post your Class data definitions (all required for mapping) and your configuration statements used for any conventions or the like you used when you configured fluent to automap; all as text. On Mon, Apr 27, 2009 at 3:39 PM, Kevin Dente wrote: > > I have a simple repro c

[fluent-nhib] Re: Automapping many to one

2009-04-27 Thread Kevin Dente
I have a simple repro case for this (VS project), but I'm not sure how to post it. Does Google Groups not support attachments? On Apr 27, 2:12 am, James Gregory wrote: > Yeah, we need some more info. What's your automapping setup? What does this > particular entity look like? What's the property

[fluent-nhib] Re: Automapping many to one

2009-04-27 Thread James Gregory
Yeah, we need some more info. What's your automapping setup? What does this particular entity look like? What's the property in question? On Mon, Apr 27, 2009 at 9:50 AM, Andrew Stewart wrote: > Hi Kevin > I'm not sure why that should of happened, can you give us your > configuration and your exa

[fluent-nhib] Re: Automapping many to one

2009-04-27 Thread Andrew Stewart
Hi Kevin I'm not sure why that should of happened, can you give us your configuration and your example to look at: Cheers Andy On Sun, Apr 26, 2009 at 10:47 PM, MaggiePlusPlus wrote: > > I am using AutoMap exclusively as well (but am also very new at > this). I have gotten the Many-to-one mapp

[fluent-nhib] Re: Automapping many to one

2009-04-26 Thread MaggiePlusPlus
I am using AutoMap exclusively as well (but am also very new at this). I have gotten the Many-to-one mapping without changing manyToOnePart.write. in the parent class I have: public virtual IList Children { get; set; } in child class I have: public virtual Parent Parent { get; set; } parent xm

[fluent-nhib] Re: Automapping many to one

2009-04-24 Thread Kevin Dente
FWIW, I was able to get past this by changing ManyToOnePart.Write. I changed if (_columns.Count == 0) to if ((_columns.Count == 0) && !String.IsNullOrEmpty(columnName)) No idea if this is the "correct" fix, but it let me get past the block. On Apr 24, 11:04 am, Kevin Dente wrote: > I'm fairly g