protected List<ApplicationRelationshipItem> ApplicationRelationship(int id) { List<ApplicationRelationshipItem> items = new List<ApplicationRelationshipItem>(); List<EntityDTO> applications = entityData.GetApplicationRelationship(id); if (applications.Count > 0) { foreach (EntityDTO related in applications) { ApplicationRelationshipItem app = new ApplicationRelationshipItem(); related.ExtractProperties(); app.Application = related.Name; app.Description = related.RenderHTML (GlobalStringResource.Description, RenderOption.Paragraph); items.Add(app); } } return items; }
protected List <ApplicationRelationshipItem> ApplicationRelationship(int id) { List <ApplicationRelationshipItem> items = new List <ApplicationRelationshipItem>(); List <EntityDTO> applications = entityData.GetApplicationRelationship(id); if (applications.Count > 0) { foreach (EntityDTO related in applications) { ApplicationRelationshipItem app = new ApplicationRelationshipItem(); related.ExtractProperties(); app.Application = related.Name; app.Description = related.RenderHTML (GlobalStringResource.Description, RenderOption.Paragraph); items.Add(app); } } return(items); }