예제 #1
0
        public OrgUnit(string name, OrgUnit parent, OrgUnitType orgUnitType) : this()
        {
            Name = name;

            ParentId = parent?.id;
            Parent   = parent;

            OrgUnitTypeId = orgUnitType.Id;
            OrgUnitType   = orgUnitType;
        }
예제 #2
0
파일: Facility.cs 프로젝트: MSH/PViMS-2
        public void ChangeDetails(string facilityName, string facilityCode, FacilityType facilityType, string telNumber, string mobileNumber, string faxNumber, OrgUnit orgUnit)
        {
            FacilityName = facilityName;
            FacilityCode = facilityCode;

            FacilityTypeId = facilityType.Id;
            FacilityType   = facilityType;

            TelNumber    = telNumber;
            MobileNumber = mobileNumber;
            FaxNumber    = faxNumber;

            OrgUnitId = orgUnit?.Id;
            OrgUnit   = orgUnit;
        }