Update of /cvsroot/nhibernate/nhibernate/src/NHibernate
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18476/nhibernate/src/NHibernate
Modified Files:
nhibernate-mapping-2.0.xsd
Log Message:
Added "foreign-key" attribute to many-to-one, one-to-one etc so primary/foreign column names can differ
Index: nhibernate-mapping-2.0.xsd
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/nhibernate-mapping-2.0.xsd,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** nhibernate-mapping-2.0.xsd 30 Mar 2005 16:28:35 -0000 1.13
--- nhibernate-mapping-2.0.xsd 31 Mar 2005 12:40:24 -0000 1.14
***************
*** 554,557 ****
--- 554,558 ----
<xs:attribute name="class" type="xs:string" use="required"/>
<xs:attribute name="column" type="xs:string"/>
+ <xs:attribute name="foreign-key" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
***************
*** 575,578 ****
--- 576,580 ----
</xs:sequence>
<xs:attribute name="column" type="xs:string"/>
+ <xs:attribute name="foreign-key" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
***************
*** 586,589 ****
--- 588,592 ----
<xs:attribute name="class" type="xs:string"/>
<xs:attribute name="column" type="xs:string"/>
+ <xs:attribute name="foreign-key" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
***************
*** 617,620 ****
--- 620,624 ----
<xs:attribute name="class" type="xs:string" use="required"/>
<xs:attribute name="column" type="xs:string"/>
+ <xs:attribute name="foreign-key" type="xs:string" use="optional"/>
<xs:attribute name="outer-join" type="outerJoinStrategy" default="auto"/>
</xs:complexType>
***************
*** 636,639 ****
--- 640,644 ----
<xs:attribute name="update" type="xs:boolean" default="true"/>
<xs:attribute name="insert" type="xs:boolean" default="true"/>
+ <xs:attribute name="foreign-key" type="xs:string" use="optional"/>
<xs:attribute name="property-ref" type="xs:string"/>
</xs:complexType>
***************
*** 676,679 ****
--- 681,685 ----
<xs:attribute name="outer-join" type="outerJoinStrategy" default="auto"/>
<xs:attribute name="constrained" type="xs:boolean" default="false"/>
+ <xs:attribute name="foreign-key" type="xs:string" use="optional"/>
<xs:attribute name="property-ref" type="xs:string"/>
</xs:complexType>
|