コード例 #1
0
        static void TestPatientTransaction()
        {
            var pMap = new PatientsMapping();

            pMap.CreatePatientMapping();
            TransactionManager.ExecuteTransaction();
            //var pCount = TransactionManager.DatabaseContext.Patients.Count();
            //var dCount = TransactionManager.DatabaseContext.DatabaseInfoes.Count();
            //System.Console.WriteLine(pCount);
            //System.Console.WriteLine(dCount);

            //System.Console.ReadLine();
        }
コード例 #2
0
        private static void TestDmdataMapping()
        {
            MigrationVariables.Init();
            TableAgentCollection.Populate(new List <string> {
                "PATIENTS", "DMDATA"
            });

            PatientsMapping pMap = new PatientsMapping();

            pMap.CreatePatientMapping();


            DMDataMapping map = new DMDataMapping();

            map.CreateDMDataMapping();
        }