Beispiel #1
0
        public void CRUDTest()
        {
            FacadeController facadeController = new FacadeController(
                new LocalOLEDBPersistenceStrategiesFactory(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\ScanToPrint\ScanToPrint.mdb;Persist Security Info=False;"),
                new OnlineOLEDBPersistenceStrategiesFactory(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Z:\Quest_ScanToPrintDevelopment.mdb;Persist Security Info=False;")

                );
            List <Glazing> glazings = facadeController.GetGlazings();
            //facadeController.AddColorMatch(new ColorMatch() { Color = "Blue", Job = "AAA" });
        }
Beispiel #2
0
        public void TestMail()
        {
            FacadeController facadeController = new FacadeController(
                new LocalOLEDBPersistenceStrategiesFactory(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\ScanToPrint\ScanToPrint.mdb;Persist Security Info=False;"),
                new OnlineOLEDBPersistenceStrategiesFactory(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Z:\Quest.mdb;Persist Security Info=False;")

                );


            List <Glazing> xxx = facadeController.GetGlazings();
        }