Esempio n. 1
0
        public static void Main(string[] args)
        {
            TimedOperation(() =>
            {
                IWebLogsFiles files = new WebLogsFiles();
                OutFile outFile     = files.Configure();
                FileHeader header   = files.ProcessFiles();

                IWebLogsDatabase db = new WebLogsDatabase(header, outFile);
                db.Configure();
                db.BulkLoadData();
            });

#if debug
            Console.ReadKey();
#endif
        }
Esempio n. 2
0
 public WebLogsSqlCommands(FileHeader header, OutFile file)
 {
     _header = header;
     _file   = file;
 }
Esempio n. 3
0
 public WebLogsDatabase(FileHeader header, OutFile file)
 {
     _commands = new WebLogsSqlCommands(header, file);
 }