public App() { GlobalConfig.Instance.ConnectionString = @"metadata=res://*/MapleMarketModel.csdl|res://*/MapleMarketModel.ssdl|res://*/MapleMarketModel.msl;provider=MySql.Data.MySqlClient;provider connection string='server=belandls.ca;user id=maplemarket;password=Maple!Market123;database=maple_market'"; ViewFactory = new ViewFactory(); ViewFactory.RegisterView <MainWindow, MainWindowViewModel>(new MainWindowViewModel(GlobalConfig.Instance)); ViewFactory.RegisterView <GetItem, IGetItem>(new GetItemViewModel(GlobalConfig.Instance)); ViewFactory.RegisterView <InsertPrice, IInsertPrice>(new InsertPriceViewModel(GlobalConfig.Instance)); }