コード例 #1
0
        private static void StudyDataSet()
        {
            Console.WriteLine(" --- StudyDataSet ---");

            DateSet dataSet = new DateSet();

            Console.WriteLine(dataSet.DicaseTypes
                              .ToLineList("dataSet.DicaseTypes"));

            TestDataCreation.CreateDicaseType(dataSet.DicaseTypes);
            Console.WriteLine(dataSet.DicaseTypes
                              .ToLineList("dataSet.Discases"));
            Console.WriteLine(dataSet.Discases
                              .ToLineList("dataSet.Discases"));

            TestDataCreation.CreateDicases(dataSet);
            Console.WriteLine(dataSet.Discases
                              .ToLineList("dataSet.Discases"));
            Console.WriteLine(dataSet.Patcients
                              .ToLineList("dataSet.Patcients"));

            TestDataCreation.CreatePatcient(dataSet);
            Console.WriteLine(dataSet.Patcients
                              .ToLineList("dataSet.Patcients"));


            Console.ReadKey();
        }
コード例 #2
0
        public static void CreateObjectss(this IDateSet dataSet)
        {
            TestDataCreation.CreateDicaseType(
                dataSet.DicaseTypes);
            TestDataCreation.CreateDicases(dataSet);

            TestDataCreation.CreatePatcient(dataSet);
        }