Esempio n. 1
0
 public ProjectListViewModel()
 {
     _dataService = new ProjectDataService(DependencyService.Get <ISQLite>().GetConnection());
     Entities     = new ObservableCollection <Project>(_dataService.Select());
 }
 public ProjectMasterViewModel()
 {
     _dataService = new ProjectDataService(DependencyService.Get <ISQLite>().GetConnection());
     _dataService.Select();
     this.projectList = new ProjectListViewModel(_dataService);
 }