Beispiel #1
0
        static void CreateDatabase()
        {
            var originalData  = DataZipFile.FromOriginalFile(KenAll_Local_Path);
            var remodeledData = DataCreator.CreateCsvData(originalData);

            DataEF.CreateDatabase(remodeledData);
        }
Beispiel #2
0
        static void CreateDataZipFile()
        {
            var originalData  = DataZipFile.FromOriginalUri(KenAll_JP_Uri);
            var remodeledData = DataCreator.CreateCsvData(originalData);

            DataZipFile.SaveZipFile(DataZip_Default_Path, remodeledData);
        }
        public static void ExecuteTest()
        {
            OriginalData = DataZipFile.FromOriginalFile(Program.KenAll_Local_Path);
            Directory.CreateDirectory(OutputDirPath);

            SaveResult(nameof(MultiPostalCodes), MultiPostalCodes());
            SaveResult(nameof(MultiTowns), MultiTowns());
            SaveResult(nameof(Towns_NoTownName), Towns_NoTownName());
            SaveResult(nameof(Towns_Ichien), Towns_Ichien());
            SaveResult(nameof(ConsecutiveData_Max), ConsecutiveData_Max());
            SaveResult(nameof(ConsecutiveData_Complex), ConsecutiveData_Complex());
            SaveResult(nameof(ConsecutiveData_Reason), ConsecutiveData_Reason());
            SaveResult(nameof(ConsecutiveData_Kana), ConsecutiveData_Kana());
            SaveResult(nameof(KanaChars), KanaChars());
        }