private void LoadSavedItems(Call call) { DataRepoInstance = _dataRepoItems = DataApp.Open <SampleItem>(RepoId); var dataRefs = _dataRepoItems.LoadAllSorted(call); _sampleItems = new ItemCollection <SampleItem>(dataRefs.Values); }
private void LoadSavedItems(Call call, TabModel model) { _dataRepoParams = DataApp.Open <ParamTestItem>("CollectionTest"); DataRepoInstance = _dataRepoParams; var dataRefs = _dataRepoParams.LoadAllSorted(call); _items = new ItemCollection <ParamTestItem>(dataRefs.Values); model.Items = _items; }