private void ExportCsCode(string path)
        {
            var file  = ConfigPath(Entity, "File_Web_Export_cs", path, $"Page\\{Entity.Parent.Name}\\{Entity.Name}", "Export.cs");
            var coder = new ExportActionCoder
            {
                Entity  = Entity,
                Project = Project
            };

            WriteFile(file, coder.Code());
        }
Exemple #2
0
        private void ExportCsCode(string path)
        {
            var file  = Entity["File_Model_Action"];
            var coder = new ExportActionCoder
            {
                Entity  = Entity,
                Project = Project
            };

            path = IOHelper.CheckPaths(path, Path.GetDirectoryName(file));
            WriteFile(Path.Combine(path, "Export.cs"), coder.Code());
        }