From: Richard B. <rb...@us...> - 2005-02-16 22:22:44
|
Update of /cvsroot/jcframework/Nunit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2012 Modified Files: Tag: v2_0 AtomsFramework.xml original db1.mdb Log Message: Fixed XML and database schema for tests Index: original db1.mdb =================================================================== RCS file: /cvsroot/jcframework/Nunit/original db1.mdb,v retrieving revision 1.12 retrieving revision 1.12.2.1 diff -u -d -r1.12 -r1.12.2.1 Binary files /tmp/cvsWZ5rhq and /tmp/cvsIbCzfW differ Index: AtomsFramework.xml =================================================================== RCS file: /cvsroot/jcframework/Nunit/AtomsFramework.xml,v retrieving revision 1.15 retrieving revision 1.15.2.1 diff -u -d -r1.15 -r1.15.2.1 --- AtomsFramework.xml 2 Jan 2005 09:41:09 -0000 1.15 +++ AtomsFramework.xml 16 Feb 2005 22:22:29 -0000 1.15.2.1 @@ -118,14 +118,13 @@ <attribute name="Id" column="id" key="primary"/> <attribute name="field1" column="field1" /> <attribute name="AId" column="a_id" /> - <attribute name="TableA" /> - <attribute name="TableDCollection" /> + <attrbute name="TableA" /> </class> <class name="TableC" table="TableC" database="MSA" namespace="NunitTests.InheritedClasses"> <attribute name="Id" column="id" key="primary"/> <attribute name="field1" column="field1" /> <attribute name="AId" column="a_id" /> - <attribute name="TableA" /> + <attrbute name="TableA" /> </class> <association fromClass="NunitTests.InheritedClasses.TableA" toClass="NunitTests.InheritedClasses.TableB" target="TableBCollection" cardinality="OneToMany" retrieveAutomatic="true" saveAutomatic="true" deleteAutomatic="true" inverse="false" name="AtoB"> @@ -306,7 +305,22 @@ inverse="false"> <entry fromAttribute="BOID" toAttribute="OIDValue"/> </association> - + + <class name="LazyEmployee" table="NPEmployee" database="MSA" namespace="NunitTests.StandardClasses"> + <attribute name="Name" column="name" find="true" key="primary"/> + <attribute name="ReportsToName" column="parentname" /> + <attribute name="ReportsTo" /> + <attribute name="Workers" /> + </class> + <association fromClass="NunitTests.StandardClasses.LazyEmployee" toClass="NunitTests.StandardClasses.LazyEmployee" target="ReportsTo" cardinality="OneToOne" + retrieveAutomatic="lazy" saveAutomatic="true" deleteAutomatic="false" inverse="false"> + <entry fromAttribute="ReportsToName" toAttribute="Name"/> + </association> + <association fromClass="NunitTests.StandardClasses.LazyEmployee" toClass="NunitTests.StandardClasses.LazyEmployee" target="Workers" cardinality="OneToMany" + retrieveAutomatic="lazy" saveAutomatic="true" deleteAutomatic="false" inverse="false"> + <entry fromAttribute="Name" toAttribute="ReportsToName"/> + </association> + <class name="ManyToManyA" table="ManyToManyA" database="MSA" namespace="NunitTests.InheritedClasses"> <attribute name="GUIDValue" column="GuidValue" key="primary"/> <attribute name="Description" column="description" /> @@ -348,19 +362,5 @@ <entry fromAttribute="BGuidValue" toAttribute="GUIDValue"/> </association> - <class name="LazyEmployee" table="NPEmployee" database="MSA" namespace="NunitTests.StandardClasses"> - <attribute name="Name" column="name" find="true" key="primary"/> - <attribute name="ReportsToName" column="parentname" /> - <attribute name="ReportsTo" /> - <attribute name="Workers" /> - </class> - <association fromClass="NunitTests.StandardClasses.LazyEmployee" toClass="NunitTests.StandardClasses.LazyEmployee" target="ReportsTo" cardinality="OneToOne" - retrieveAutomatic="lazy" saveAutomatic="true" deleteAutomatic="false" inverse="false"> - <entry fromAttribute="ReportsToName" toAttribute="Name"/> - </association> - <association fromClass="NunitTests.StandardClasses.LazyEmployee" toClass="NunitTests.StandardClasses.LazyEmployee" target="Workers" cardinality="OneToMany" - retrieveAutomatic="lazy" saveAutomatic="true" deleteAutomatic="false" inverse="false"> - <entry fromAttribute="Name" toAttribute="ReportsToName"/> - </association> </map> \ No newline at end of file |