Exemple #1
0
        static void Main(string[] args)
        {
            var basePath = "../../../../A2v10.Application/App_Application";
            var s        = Solution.LoadFromFile($"{basePath}/solution.json");
            var styles   = Styles.LoadFromFile($"{basePath}/styles.json");

            var opts = new SolutionOptions();
            var xaml = new XamlBuilder(styles);
            var sql  = new SqlBuilder(opts);

            var b = new AppBuilder(s, xaml, sql);

            b.Build(basePath + "/sample");
            //Directory.CreateDirectory("../../../../Application/sample");
            b.BuildSql($"{basePath}/sample_full.sql");
        }