Exemple #1
0
        public void Loaded()
        {
            _uow = new SainaDbContext();
            var x = _uow.RelatedPeople.ToList();

            RelatedPersons = new Telerik.Windows.Data.QueryableCollectionView(x);
        }
 private void SearchCommandExecute(object obj)
 {
     BranchCollection.Clear();
     BranchCollection = new ObservableCollection<Branch>(DbHandler.Instance.LoadBranchDataByRootName(SearchString));
     Branches = new Telerik.Windows.Data.QueryableCollectionView(BranchCollection);
 }