Example #1
0
 public CustomerListViewModel(CustomerList customerList, INorthwindDAL northwindDAL)
 {
     DeleteEntryCommand = new DelegateCommand(DeleteEntry);
     OrderCount         = new AsyncProperty <int?>(LoadOrderCountLazy);
     this.northwindDAL  = northwindDAL;
     CustomerList       = customerList;
 }
Example #2
0
 public MainWindowViewModel(INorthwindDAL northwindDAL)
 {
     this.northwindDAL  = northwindDAL;
     RefreshDataCommand = new DelegateCommand(RefreshData);
 }