示例#1
0
        public static void CreateTestData(TransactionScopeFactory transactionScopeFactory)
        {
            {
                //String gzfilename = @"InterlisFiles\20111219110540_Axis_CH_Kt_Full_TestData_351-353-362-363-663_2011_09_01.xml.gz";
                String gzfilename = @"InterlisFiles\20111219110540_Axis_CH_Kt_Full_TestData_353-358-663_2011_09_01.xml.gz";

                String filename = gzfilename.Replace(".gz", "");

                AxisDataUtils.GUnZipFile(gzfilename, filename);

                // axis import

                AxisImport axisImport = new AxisImport(transactionScopeFactory);

                axisImport.ClearImportLog();
                axisImport.RunImport(filename, DateTime.Now);

                // axis update
            }
        }
示例#2
0
        public static void DoIncrementalAxisImport(TransactionScopeFactory transactionScopeFactory)
        {
            AxisImport axisImport = new AxisImport(transactionScopeFactory);

            axisImport.RunImport(@"InterlisFiles\20111219110541_Axis_CH_Kt_IncrFake_TestData_353-358-663_2011_09_01.xml", DateTime.Now);
        }