public MainWindow() { var masterContainer = new MasterContainer(); _facade = masterContainer.Facade; InitializeComponent(); }
public MasterContainer() { var codeGenerationRepository = new CodeGenerationRepository( new DatabaseTableInfoRepository(), new DataTransferObjectGenerator(), new HackyGatewayBaseObjectGenerator(), new HackyGatewayGenerator(new SqlGenerator()), new SqlGenerator()); var fileSystemCodeExporter = new FileSystemCodeExporter(); Facade = new GenerationFacade(codeGenerationRepository, fileSystemCodeExporter); }