public ControllerFactory(FileHandler fileHandler)
        {
            this.fileHandler = fileHandler;

            this.dll = new DataBaseLogicLayer(string.Format("Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0};Jet OLEDB:Engine Type=5", this.fileHandler.CompleteFileString()));
            this.bll = new BLL(this.fileHandler, this.dll);
        }
Ejemplo n.º 2
0
 public BLL(FileHandler fileHandler, DataBaseLogicLayer dll)
 {
     this.fileHandler = fileHandler;
     this.dll = dll;
     this.Setup();
 }