public SqlProject(StatusWriter log, string path) { SqlProjPath = path; _log = log; _doc = new XmlDocument(); _doc.Load(path); }
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(); }
public Generator(StatusWriter log, SqlProject project, Options options) { _log = log; _project = project; _options = options; }