Example #1
0
        public OrgUnitType(string description, OrgUnitType parent) : this()
        {
            Description = description;

            ParentId = parent?.id;
            Parent   = parent;
        }
Example #2
0
        public OrgUnit(string name, OrgUnit parent, OrgUnitType orgUnitType) : this()
        {
            Name = name;

            ParentId = parent?.id;
            Parent   = parent;

            OrgUnitTypeId = orgUnitType.Id;
            OrgUnitType   = orgUnitType;
        }