Esempio n. 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);
    }
Esempio n. 2
0
    public DataRepoView <T> LoadView <T>(Call call, string groupId)
    {
        var view = new DataRepoView <T>(this, groupId);

        view.LoadAll(call);
        return(view);
    }
Esempio n. 3
0
        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;
        }