From: Richard B. <rb...@us...> - 2005-04-11 00:31:58
|
Update of /cvsroot/jcframework/dotnet/Nunit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv815/Nunit Added Files: App.config AssemblyInfo.vb AtomsFramework.xml Nunit_AtomsFramework.nunit Nunit_AtomsFramework.vbproj original db1.mdb Log Message: Name changes to bring class library into line with Microsoft naming standards. FxCop directory added Nunit tests moved into main repository --- NEW FILE: AssemblyInfo.vb --- Imports System Imports System.Reflection Imports System.Runtime.InteropServices ' General Information about an assembly is controlled through the following ' set of attributes. Change these attribute values to modify the information ' associated with an assembly. ' Review the values of the assembly attributes <Assembly: AssemblyTitle("")> <Assembly: AssemblyDescription("")> <Assembly: AssemblyCompany("")> <Assembly: AssemblyProduct("")> <Assembly: AssemblyCopyright("")> <Assembly: AssemblyTrademark("")> <Assembly: CLSCompliant(True)> 'The following GUID is for the ID of the typelib if this project is exposed to COM <Assembly: Guid("AA61D737-B103-4141-A82B-D94EB737FF6A")> ' Version information for an assembly consists of the following four values: ' ' Major Version ' Minor Version ' Build Number ' Revision ' ' You can specify all the values or you can default the Build and Revision Numbers ' by using the '*' as shown below: <Assembly: AssemblyVersion("1.0.*")> --- NEW FILE: Nunit_AtomsFramework.vbproj --- <VisualStudioProject> <VisualBasic ProjectType = "Local" ProductVersion = "7.10.3077" SchemaVersion = "2.0" ProjectGuid = "{60C96393-CBF7-4F59-B43A-DA1D6608EEBD}" > <Build> <Settings ApplicationIcon = "" AssemblyKeyContainerName = "" AssemblyName = "Nunit_AtomsFramework" AssemblyOriginatorKeyFile = "" AssemblyOriginatorKeyMode = "None" DefaultClientScript = "JScript" DefaultHTMLPageLayout = "Grid" DefaultTargetSchema = "IE50" DelaySign = "false" OutputType = "Library" OptionCompare = "Binary" OptionExplicit = "On" OptionStrict = "Off" RootNamespace = "NunitTests" StartupObject = "NunitTests.(None)" > <Config Name = "Debug" BaseAddress = "285212672" ConfigurationOverrideFile = "" DefineConstants = "" DefineDebug = "true" DefineTrace = "true" DebugSymbols = "true" IncrementalBuild = "true" Optimize = "false" OutputPath = "bin\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "1" /> <Config Name = "Release" BaseAddress = "285212672" ConfigurationOverrideFile = "" DefineConstants = "" DefineDebug = "false" DefineTrace = "true" DebugSymbols = "false" IncrementalBuild = "false" Optimize = "true" OutputPath = "bin\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "1" /> </Settings> <References> <Reference Name = "System" AssemblyName = "System" /> <Reference Name = "System.Data" AssemblyName = "System.Data" /> <Reference Name = "System.XML" AssemblyName = "System.Xml" /> <Reference Name = "nunit.framework" AssemblyName = "nunit.framework" HintPath = "..\..\..\Program Files\NUnit 2.2\bin\nunit.framework.dll" AssemblyFolderKey = "hklm\dn\nunit.framework" /> <Reference Name = "System.Drawing" AssemblyName = "System.Drawing" HintPath = "..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Drawing.dll" /> <Reference Name = "System.Windows.Forms" AssemblyName = "System.Windows.Forms" HintPath = "..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Windows.Forms.dll" /> <Reference Name = "Atoms.Framework" Project = "{8FFD05CF-E733-4D8E-BC0E-D9DD37B87384}" Package = "{F184B08F-C81C-45F6-A57F-5ABD9991F28F}" /> </References> <Imports> <Import Namespace = "Microsoft.VisualBasic" /> <Import Namespace = "System" /> <Import Namespace = "System.Collections" /> <Import Namespace = "System.Data" /> <Import Namespace = "System.Diagnostics" /> </Imports> </Build> <Files> <Include> <File RelPath = "App.config" BuildAction = "None" /> <File RelPath = "AssemblyInfo.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "AtomsFramework.xml" BuildAction = "Content" /> <File RelPath = "InheritedClasses\AtomsFrameworkTests.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "InheritedClasses\AutoIdClasses.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "InheritedClasses\AutoIdTests.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "InheritedClasses\CEmployee.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "InheritedClasses\CJob.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "InheritedClasses\CSharedClasses.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "InheritedClasses\CStudent.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "InheritedClasses\CTeam.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "InheritedClasses\CWorker.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "InheritedClasses\ManyToManyClasses_v2.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "InheritedClasses\ManyToManyTests_v2.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "InheritedClasses\MultiRetrieveTestClasses.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "InheritedClasses\MultiRetrieveTests.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "InheritedClasses\RetrieveCriteriaTests.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "InheritedClasses\SharedTests.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "InheritedClasses\SuperClassTests.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "InheritedClasses\TableA_B.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "InheritedClasses\tblAtoKClasses.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Interfaces\EmployeeInterfaceTests.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Interfaces\IEmployee.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Interfaces\IOptimistic.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Interfaces\ManyToManyClasses.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Interfaces\ManyToManyTests.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Interfaces\TimestampTests.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Interfaces\ValidatedEmployee.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "StandardClasses\LazyEmployee.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "StandardClasses\NonInheritedRetreiveCriteria.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "StandardClasses\NonInheritedTests.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "StandardClasses\NPEmployee.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "StandardClasses\NPJob.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "StandardClasses\NPTeam.vb" SubType = "Code" BuildAction = "Compile" /> </Include> </Files> </VisualBasic> </VisualStudioProject> --- NEW FILE: App.config --- <?xml version="1.0" encoding="utf-8" ?> <configuration> </configuration> --- NEW FILE: Nunit_AtomsFramework.nunit --- (This appears to be a binary file; contents omitted.) --- NEW FILE: original db1.mdb --- (This appears to be a binary file; contents omitted.) --- NEW FILE: AtomsFramework.xml --- <?xml version="1.0" ?> <map> <database name="MSA" provider="bin\AF_OLEDB.dll"> <parameter name="name" value=".\db1.mdb" /> <parameter name="user" value="anyuser" /> <parameter name="password" value="anypassword" /> <parameter name="OIDTable" value="OID"/> </database> <class name="SharedParent" table="SharedClasses" database="MSA" namespace="NunitTests.InheritedClasses"> <attribute name="OIDValue" column="oid" key="primary"/> <attribute name="CreatedDate" column="created" timestamp="true"/> <attribute name="ModifiedDate" column="modified" timestamp="true"/> <attribute name="Field1" column="field1" /> </class> <!-- Proper XML mapping here would be to not have the OIDValue attribute since it inherits from the parent class (for shared tables). It is here for testing only. --> <class name="SharedChild" table="SharedClasses" superclass="SharedParent" database="MSA" sharedtablefield="IType" sharedtablevalue="PLN" namespace="NunitTests.InheritedClasses"> <attribute name="OIDValue" column="oid" key="primary" reference="OIDValue"/> <attribute name="Field2" column="field2" /> </class> <class name="NPJob" table="NPJobs" database="MSA" namespace="NunitTests.StandardClasses"> <attribute name="Id" column="id" key="primary"/> <attribute name="Description" column="description"/> </class> <class name="NPEmployee" table="NPEmployee" database="MSA" namespace="NunitTests.StandardClasses"> <attribute name="Name" column="name" find="true" key="primary"/> <attribute name="ReportsToName" column="parentname" /> <attribute name="TeamName" column="teamname" /> <attribute name="Team" /> <attribute name="ReportsTo" /> <attribute name="Workers" /> </class> <class name="NPTeam" table="NPTeams" database="MSA" namespace="NunitTests.StandardClasses"> <attribute name="Name" column="teamname" find="true" key="primary"/> <attribute name="TeamLeaderName" column="teamleader" /> <attribute name="jobId" column="jobid" /> <attribute name="TeamLeader" /> <attribute name="Job" /> </class> <association fromClass="NunitTests.StandardClasses.NPEmployee" toClass="NunitTests.StandardClasses.NPEmployee" target="ReportsTo" cardinality="OneToOne" retrieveAutomatic="true" saveAutomatic="true" deleteAutomatic="false" inverse="false"> <entry fromAttribute="ReportsToName" toAttribute="Name"/> </association> <association fromClass="NunitTests.StandardClasses.NPEmployee" toClass="NunitTests.StandardClasses.NPEmployee" target="Workers" cardinality="OneToMany" retrieveAutomatic="true" saveAutomatic="true" deleteAutomatic="false" inverse="false"> <entry fromAttribute="Name" toAttribute="ReportsToName"/> </association> <association fromClass="NunitTests.StandardClasses.NPTeam" toClass="NunitTests.StandardClasses.NPEmployee" target="TeamLeader" cardinality="OneToOne" retrieveAutomatic="true" saveAutomatic="false" deleteAutomatic="false" inverse="false"> <entry fromAttribute="TeamLeaderName" toAttribute="Name"/> </association> <association fromClass="NunitTests.StandardClasses.NPTeam" toClass="NunitTests.StandardClasses.NPJob" target="Job" cardinality="OneToOne" retrieveAutomatic="true" saveAutomatic="false" deleteAutomatic="false" inverse="false"> <entry fromAttribute="jobId" toAttribute="Id"/> </association> <association fromClass="NunitTests.StandardClasses.NPTeam" toClass="NunitTests.StandardClasses.NPEmployee" target="Members" cardinality="OneToMany" retrieveAutomatic="true" saveAutomatic="false" deleteAutomatic="false" inverse="false"> <entry fromAttribute="Name" toAttribute="TeamName"/> </association> <class name="IEmployee" table="NPEmployee" database="MSA" factory="IEmployeeFactory" namespace="NunitTests.Interfaces"> <attribute name="Name" column="name" key="primary" find="true"/> <attribute name="ReportsToName" column="parentname" /> <attribute name="TeamName" column="teamname" /> <attribute name="Team" /> <attribute name="ReportsTo" /> <attribute name="Workers" /> </class> <association fromClass="NunitTests.Interfaces.IEmployee" toClass="NunitTests.Interfaces.IEmployee" target="ReportsTo" cardinality="OneToOne" retrieveAutomatic="true" saveAutomatic="true" deleteAutomatic="false" inverse="false"> <entry fromAttribute="ReportsToName" toAttribute="Name"/> </association> <association fromClass="NunitTests.Interfaces.IEmployee" toClass="NunitTests.Interfaces.IEmployee" target="Workers" cardinality="OneToMany" retrieveAutomatic="true" saveAutomatic="true" deleteAutomatic="false" inverse="false"> <entry fromAttribute="Name" toAttribute="ReportsToName"/> </association> <class name="mr1" table="mr1" database="MSA" namespace="NunitTests.InheritedClasses"> <attribute name="id" column="id" key="primary"/> <attribute name="field1" column="field1" /> <attribute name="field2" column="field2" /> <attribute name="mr2_id" column="mr2_id" /> <attribute name="mr2" /> </class> <class name="mr2" table="mr2" database="MSA" namespace="NunitTests.InheritedClasses"> <attribute name="id" column="id" key="primary"/> <attribute name="field1" column="field1" /> <attribute name="field2" column="field2" /> <attribute name="mr3_id" column="mr3_id" /> <attribute name="mr3" /> </class> <class name="mr3" table="mr3" database="MSA" namespace="NunitTests.InheritedClasses"> <attribute name="id" column="id" key="primary"/> <attribute name="field1" column="field1" /> <attribute name="field2" column="field2" /> </class> <association fromClass="NunitTests.InheritedClasses.mr1" toClass="NunitTests.InheritedClasses.mr2" target="mr2" cardinality="OneToOne" retrieveAutomatic="false" saveAutomatic="true" deleteAutomatic="false" inverse="false" name="mr1tomr2"> <entry fromAttribute="mr2_id" toAttribute="id"/> </association> <association fromClass="NunitTests.InheritedClasses.mr2" toClass="NunitTests.InheritedClasses.mr3" target="mr3" cardinality="OneToOne" retrieveAutomatic="false" saveAutomatic="true" deleteAutomatic="false" inverse="false" name="mr2tomr3"> <entry fromAttribute="mr3_id" toAttribute="id"/> </association> <class name="TableA" table="tableA" database="MSA" namespace="NunitTests.InheritedClasses"> <attribute name="Id" column="id" key="primary"/> <attribute name="field1" column="field1" /> <attribute name="TableBCollection" /> <attribute name="TableCCollection" /> </class> <class name="TableB" table="TableB" 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" /> <attribute name="TableDCollection" /> </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" /> </class> <association fromClass="NunitTests.InheritedClasses.TableA" toClass="NunitTests.InheritedClasses.TableB" target="TableBCollection" cardinality="OneToMany" retrieveAutomatic="true" saveAutomatic="true" deleteAutomatic="true" inverse="false" name="AtoB"> <entry fromAttribute="Id" toAttribute="AId"/> </association> <association fromClass="NunitTests.InheritedClasses.TableA" toClass="NunitTests.InheritedClasses.TableC" target="TableCCollection" cardinality="OneToMany" retrieveAutomatic="true" saveAutomatic="true" deleteAutomatic="true" inverse="false" name="AtoC"> <entry fromAttribute="Id" toAttribute="AId"/> </association> <class name="A" table="tblA" database="MSA" namespace="NunitTests.InheritedClasses"> <attribute name="OIDValue" column="oid" key="primary"/> <attribute name="CreatedDate" column="CreatedDate" timestamp="true"/> <attribute name="ModifiedDate" column="ModifiedDate" timestamp="true"/> <attribute name="Id" column="id" find="true"/> <attribute name="BCol" /> <attribute name="C" /> <attribute name="COID" column="cOID"/> </class> <class name="B" table="tblB" database="MSA" namespace="NunitTests.InheritedClasses"> <attribute name="OIDValue" column="oid" key="primary"/> <attribute name="CreatedDate" column="CreatedDate" timestamp="true"/> <attribute name="ModifiedDate" column="ModifiedDate" timestamp="true"/> <attribute name="Id" column="id" find="true"/> <attribute name="Text" column="textCol"/> <attribute name="A" /> <attribute name="AOID" column="aOID"/> <attribute name="NCol" /> </class> <class name="C" table="tblC" database="MSA" namespace="NunitTests.InheritedClasses"> <attribute name="OIDValue" column="oid" key="primary"/> <attribute name="CreatedDate" column="CreatedDate" timestamp="true"/> <attribute name="ModifiedDate" column="ModifiedDate" timestamp="true"/> <attribute name="Id" column="id" find="true"/> <attribute name="Text" column="textCol"/> </class> <class name="D" table="tblD" database="MSA" superclass="B" namespace="NunitTests.InheritedClasses"> <attribute name="OIDValue" column="oid" key="primary" reference="OIDValue"/> <attribute name="CreatedDate" column="CreatedDate" timestamp="true"/> <attribute name="ModifiedDate" column="ModifiedDate" timestamp="true"/> <attribute name="Id" column="id" find="true" /> <attribute name="Str" column="str"/> </class> <class name="E" table="tblE" database="MSA" superclass="B" namespace="NunitTests.InheritedClasses"> <attribute name="OIDValue" column="oid" key="primary" reference="OIDValue"/> <attribute name="CreatedDate" column="CreatedDate" timestamp="true"/> <attribute name="ModifiedDate" column="ModifiedDate" timestamp="true"/> <attribute name="Id" column="id" find="true"/> <attribute name="Str" column="str"/> </class> <class name="F" table="tblF" database="MSA" superclass="E" namespace="NunitTests.InheritedClasses"> <attribute name="OIDValue" column="oid" key="primary" reference="OIDValue"/> <attribute name="CreatedDate" column="CreatedDate" timestamp="true"/> <attribute name="ModifiedDate" column="ModifiedDate" timestamp="true"/> <attribute name="Id" column="id" find="true"/> <attribute name="I" column="i"/> </class> <class name="G" table="tblG" database="MSA" superclass="E" namespace="NunitTests.InheritedClasses"> <attribute name="OIDValue" column="oid" key="primary" reference="OIDValue"/> <attribute name="CreatedDate" column="CreatedDate" timestamp="true"/> <attribute name="ModifiedDate" column="ModifiedDate" timestamp="true"/> <attribute name="Id" column="id" find="true" /> <attribute name="I" column="i"/> <attribute name="M" /> <attribute name="MOID" column="mOID" /> </class> <class name="H" table="tblH" database="MSA" superclass="C" namespace="NunitTests.InheritedClasses"> <attribute name="OIDValue" column="oid" key="primary" reference="OIDValue"/> <attribute name="CreatedDate" column="CreatedDate" timestamp="true"/> <attribute name="ModifiedDate" column="ModifiedDate" timestamp="true"/> <attribute name="Id" column="id" find="true" /> <attribute name="Str" column="str"/> </class> <class name="I" table="tblI" database="MSA" superclass="C" namespace="NunitTests.InheritedClasses"> <attribute name="OIDValue" column="oid" key="primary" reference="OIDValue"/> <attribute name="CreatedDate" column="CreatedDate" timestamp="true"/> <attribute name="ModifiedDate" column="ModifiedDate" timestamp="true"/> <attribute name="Id" column="id" find="true" /> <attribute name="Str" column="str"/> </class> <class name="J" table="tblJ" database="MSA" superclass="H" namespace="NunitTests.InheritedClasses"> <attribute name="OIDValue" column="oid" key="primary" reference="OIDValue"/> <attribute name="CreatedDate" column="CreatedDate" timestamp="true"/> <attribute name="ModifiedDate" column="ModifiedDate" timestamp="true"/> <attribute name="Id" column="id" find="true" /> <attribute name="I" column="i"/> </class> <class name="K" table="tblK" database="MSA" superclass="H" namespace="NunitTests.InheritedClasses"> <attribute name="OIDValue" column="oid" key="primary" reference="OIDValue"/> <attribute name="CreatedDate" column="CreatedDate" timestamp="true"/> <attribute name="ModifiedDate" column="ModifiedDate" timestamp="true"/> <attribute name="Id" column="id" find="true" /> <attribute name="I" column="i"/> <attribute name="M"/> <attribute name="MOID" column="mOID"/> </class> <class name="M" table="tblM" database="MSA" namespace="NunitTests.InheritedClasses"> <attribute name="OIDValue" column="oid" key="primary" reference="OIDValue"/> <attribute name="CreatedDate" column="CreatedDate" timestamp="true"/> <attribute name="ModifiedDate" column="ModifiedDate" timestamp="true"/> <attribute name="I" column="i"/> </class> <class name="N" table="tblN" database="MSA" namespace="NunitTests.InheritedClasses"> <attribute name="OIDValue" column="oid" key="primary" reference="OIDValue"/> <attribute name="CreatedDate" column="CreatedDate" timestamp="true"/> <attribute name="ModifiedDate" column="ModifiedDate" timestamp="true"/> <attribute name="I" column="i"/> <attribute name="B" /> <attribute name="BOID" column="bOID"/> </class> <association fromClass="NunitTests.InheritedClasses.A" toClass="NunitTests.InheritedClasses.B" cardinality="oneToMany" target="BCol" retrieveAutomatic="true" deleteAutomatic="true" saveAutomatic="true" inverse="false"> <entry fromAttribute="OIDValue" toAttribute="AOID"/> </association> <association fromClass="NunitTests.InheritedClasses.B" toClass="NunitTests.InheritedClasses.A" cardinality="oneToOne" target="A" retrieveAutomatic="true" deleteAutomatic="false" saveAutomatic="false" inverse="false"> <entry fromAttribute="AOID" toAttribute="OIDValue"/> </association> <association fromClass="NunitTests.InheritedClasses.G" toClass="NunitTests.InheritedClasses.M" cardinality="oneToOne" target="M" retrieveAutomatic="true" saveAutomatic="true" deleteAutomatic="true" inverse="false"> <entry fromAttribute="MOID" toAttribute="OIDValue"/> </association> <association fromClass="NunitTests.InheritedClasses.K" toClass="NunitTests.InheritedClasses.M" cardinality="oneToOne" target="M" retrieveAutomatic="true" saveAutomatic="true" deleteAutomatic="true" inverse="false"> <entry fromAttribute="MOID" toAttribute="OIDValue"/> </association> <association fromClass="NunitTests.InheritedClasses.A" toClass="NunitTests.InheritedClasses.C" cardinality="oneToOne" target="C" retrieveAutomatic="true" saveAutomatic="true" deleteAutomatic="true" inverse="false"> <entry fromAttribute="COID" toAttribute="OIDValue"/> </association> <association fromClass="NunitTests.InheritedClasses.B" toClass="NunitTests.InheritedClasses.N" cardinality="oneToMany" target="NCol" retrieveAutomatic="true" deleteAutomatic="true" saveAutomatic="true" inverse="false"> <entry fromAttribute="OIDValue" toAttribute="BOID"/> </association> <association fromClass="NunitTests.InheritedClasses.N" toClass="NunitTests.InheritedClasses.B" cardinality="oneToOne" target="B" retrieveAutomatic="true" deleteAutomatic="false" saveAutomatic="false" 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="M2MA" table="ManyToManyA" database="MSA" namespace="NunitTests.InheritedClasses"> <attribute name="GUIDValue" column="GuidValue" key="primary"/> <attribute name="Description" column="description" /> <attribute name="M2MBCollection" /> </class> <class name="M2MB" table="ManyToManyB" database="MSA" namespace="NunitTests.InheritedClasses"> <attribute name="GUIDValue" column="GuidValue" key="primary"/> <attribute name="Description" column="description" /> <attribute name="M2MACollection" /> </class> <association fromClass="NunitTests.InheritedClasses.M2MA" toClass="NunitTests.InheritedClasses.M2MB" cardinality="ManyToMany" fromClassTarget="M2MBCollection" toClassTarget="M2MACollection" retrieveAutomatic="true" saveAutomatic="true" deleteAutomatic="true"> <associationTable name="ManyToManyAB"> <fromClassKey name="GUIDValue" column="AGuidValue" /> <toClassKey name="GUIDValue" column="BGuidValue" /> </associationTable> </association> <class name="iM2MA" table="ManyToManyA" database="MSA" namespace="NunitTests.Interfaces" factory="M2MAFactory"> <attribute name="GUIDValue" column="GuidValue" key="primary"/> <attribute name="Description" column="description" /> <attribute name="M2MBCollection" /> </class> <class name="iM2MB" table="ManyToManyB" database="MSA" namespace="NunitTests.Interfaces" factory="M2MBFactory"> <attribute name="GUIDValue" column="GuidValue" key="primary"/> <attribute name="Description" column="description" /> <attribute name="M2MACollection" /> </class> <association fromClass="NunitTests.Interfaces.iM2MA" toClass="NunitTests.Interfaces.iM2MB" cardinality="ManyToMany" fromClassTarget="M2MBCollection" toClassTarget="M2MACollection" retrieveAutomatic="true" saveAutomatic="true" deleteAutomatic="true"> <associationTable name="ManyToManyAB"> <fromClassKey name="GUIDValue" column="AGuidValue" /> <toClassKey name="GUIDValue" column="BGuidValue" /> </associationTable> </association> <class name="IOptimistic" table="NPOptimistic" database="MSA" namespace="NunitTests.Interfaces" factory="IOptimisticFactory"> <attribute name="GUIDValue" column="GuidValue" key="primary"/> <attribute name="Description" column="Description" /> <attribute name="CreatedDate" column="CreatedDate" timestamp="true" /> <attribute name="ModifiedDate" column="ModifiedDate" timestamp="true" /> </class> </map> |