示例#1
0
        private static DriverManagerConfiguration TestDriverManagerConfiguration()
        {
            var o = new DriverManagerConfiguration
            {
                RunFinderStartup    = true,
                ReplaceDriverFiles  = true,
                DisplayNewFiles     = true,
                FinderPathsList     = new System.Collections.Generic.List <FinderPath>(),
                ExcludePatternsList = new System.Collections.Generic.List <ExcludePattern>()
            };

            o.FinderPathsList.Add(new FinderPath());
            o.FinderPathsList.Add(new FinderPath());
            o.FinderPathsList.Add(new FinderPath());
            o.FinderPathsList.Add(new FinderPath());
            o.XmlSerializeToFile();
            return(o);
        }
示例#2
0
 public static void Main(string[] args)
 {
     UrlTemplate o1 = TestUrlTemplate();
     //
     JarZipFile o2 = TestJarZipFile();
     //
     FinderPath o3 = TestFinderPath();
     //
     ExcludePattern o4 = TestExcludePattern();
     //
     DriverManager o5 = TestDriverManager(o1, o2);
     //
     DriverManagerConfiguration o6 = TestDriverManagerConfiguration();
     //
     ConnectionProperty o7 = TestConnectionProperty();
     //
     DataStore o8 = TestDataStore();
     //
     DataColumn o9 = TestDataColumn();
 }