Example #1
0
    public DataRepoView <T> LoadView <T>(Call call, string groupId, string orderByMemberName)
    {
        var view = new DataRepoView <T>(this, groupId);

        view.LoadAllOrderBy(call, orderByMemberName);
        return(view);
    }
Example #2
0
    public DataRepoView <T> LoadView <T>(Call call, string groupId)
    {
        var view = new DataRepoView <T>(this, groupId);

        view.LoadAll(call);
        return(view);
    }
        private void LoadSavedItems(Call call, TabModel model)
        {
            _dataRepoParams  = DataApp.LoadView <ParamTestItem>(call, "CollectionTest", nameof(ParamTestItem.Name));
            DataRepoInstance = _dataRepoParams;

            var dataCollection = new DataViewCollection <ParamTestItem, TabParamItem>(_dataRepoParams);

            model.Items = dataCollection.Items;
        }