示例#1
0
        public CFAggregationIndexViewModel(CFAggregation aggregation)
        {
            Name       = aggregation.Name;
            Id         = aggregation.Id;
            MappedGuid = aggregation.MappedGuid;
            EntityType = aggregation.EntityType.Name;
            string modelType = aggregation.Data.Attribute("model-type").Value;

            Label = AggregationService.GetModelTypeLabel(modelType);
        }