Esempio n. 1
0
 public SqlProject(StatusWriter log, string path)
 {
     SqlProjPath = path;
     _log        = log;
     _doc        = new XmlDocument();
     _doc.Load(path);
 }
Esempio n. 2
0
        static void RunApplication(Options options)
        {
            var log = new StatusWriter(options.IsSilent, options.IsVerbose);

            if (!options.Generate)
            {
                log.Error("No output was selected.");
                return;
            }

            var project   = new SqlProject(log, options.ProjectPath);
            var generator = new Generator(log, project, options);

            generator.Build();
        }
Esempio n. 3
0
 public Generator(StatusWriter log, SqlProject project, Options options)
 {
     _log     = log;
     _project = project;
     _options = options;
 }