Пример #1
0
 internal void LoadDatabase()
 {
     // Load database and display
     string DBConnectionString = "Data Source=isostore:/ReceiptDatabase.sdf";
     viewModel = new ReceiptViewModel(DBConnectionString);
     viewModel.LoadEntriesFromDatabase();
     DataContext = viewModel;
 }
Пример #2
0
        internal void LoadDatabase()
        {
            // Load database and display
            string DBConnectionString = "Data Source=isostore:/ReceiptDatabase.sdf";

            viewModel = new ReceiptViewModel(DBConnectionString);
            viewModel.LoadEntriesFromDatabase();
            DataContext = viewModel;
        }