public AddToSolutionComponent(int componentType, IEnumerable <string> ids, XrmRecordService xrmRecordService) { AddAllItems = true; ComponentTypeKey = componentType; ComponentType = xrmRecordService.GetPicklistLabel(Fields.solutioncomponent_.componenttype, Entities.solutioncomponent, componentType.ToString()); LoadComponentItems(ids, xrmRecordService); }