Hi Fregas,

I couldn't exactly ignore your post once I saw the holy grail reference.

I was unable to replicate your problem against the 1.0 branch. Here is the
test I wrote that passed:

        [Test]
        public void ShouldUseKeyColumnWhenSelfReferencing()
        {
            OneToMany(x => x.SelfReferencingChildren)
                .Mapping(m => m.KeyColumn("ParentID"))
                .ModelShouldMatch(x =>
                {
                    x.Key.Columns.First().Name.ShouldEqual("ParentID");
                });
        }

So I would suggest you try switching to our 1.0 release that is currently in
pre-release testing. You can either download the "model"
branch<http://github.com/jagregory/fluent-nhibernate/tree/model>and
build it yourself, or contact James as he has been coordinating the
testing.

Paul Batum

On Sat, Aug 15, 2009 at 1:49 AM, Fregas <[email protected]> wrote:

>
> help!  :)
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to