Hi Dru,
I applied the portion of the patch related to PostgreSQL. The patch also
included an extra test that seemed unrelated:
[Test]
+ public void Create_a_component_collection_mapping()
+ {
+ var map = new ClassMap<MappedObject>();
+ map.HasMany<ChildObject>(x => x.Children).Component(c =>
+ {
+
c.Map(m => m.Id);
+
}).AsBag().WithTableName("child_table");
+
+ document = map.CreateMapping(new MappingVisitor());
+
+ var componentElement =
+
(XmlElement)document.DocumentElement.SelectSingleNode("class/bag");
+
+ componentElement.AttributeShouldEqual("name", "Children");
+ componentElement.AttributeShouldEqual("table", "child_table");
+
+ componentElement.ShouldHaveChild("key");
+ componentElement.ShouldHaveChild("composite-element");
+
+ var compositeElement =
(XmlElement)componentElement.SelectSingleNode("composite-element");
+
+ compositeElement.ShouldHaveChild("proper...@name='Id']");
+ }
Did you intend to include this? Does it cover an area not properly covered
by the existing tests?
Thanks,
Paul Batum
On Thu, Dec 4, 2008 at 6:55 PM, Paul Batum <[email protected]> wrote:
> Hi Dru,
>
> Thanks for your patch, I'll take a look at it shortly.
>
> Paul Batum
>
>
> On Thu, Dec 4, 2008 at 1:37 PM, Dru Sellers <[email protected]> wrote:
>
>> a patch for the postgresql connection string
>> >>
>>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---