public void ExportConfigurationClass() { var dt = LastOrCurrentTable(); //not .cfg file if (cmd.InputPath() == null) { if (dt == null) { return; } } var builder = new ConfClassBuilder(cmd, dt); builder.ExportCSharpData(); }
public void ExportConfigurationFile() { var dt = LastOrCurrentTable(); //not .cfg file if (cmd.InputPath() == null) { if (dt == null) { return; } } var builder = new ConfClassBuilder(cmd, dt); string _type = cmd.GetValue("type") ?? "f"; //f:flat, h:hierarchial builder.ExportTie(_type == "f"); }