コード例 #1
0
ファイル: DataViewerViewModel.cs プロジェクト: sm-g/payments
        protected override IEnumerable <object> MakeItemsCollection()
        {
            string collection = null;

            if (IsListedChilds)
            {
                // show first child enities
                collection = EntityMapper.ChildrenCollectionName(Entity, 0);
            }
            else
            {
                collection = EntityMapper.CollectionName(Entity);
            }

            return(ec.GetCollection(collection));
        }