private static StacionarType getStacionarType(RbService service) { var result = StacionarType.Full; string name = service.Name; if (name.Contains(StacTypeNames[0])) result = StacionarType.Day; if (name.Contains(StacTypeNames[1])) result = StacionarType.Apu; return result; }
private void detach_RbServices_GroupId(RbService entity) { this.SendPropertyChanging("RbServices_GroupId"); entity.RbService_GroupId = null; }
private void detach_RbServices(RbService entity) { this.SendPropertyChanging("RbServices"); entity.RbMedicalAidKind = null; }
private void attach_RbServices(RbService entity) { this.SendPropertyChanging("RbServices"); entity.RbMedicalAidType = this; }
private void detach_RbServices_ModifyPersonId(RbService entity) { this.SendPropertyChanging("RbServices_ModifyPersonId"); entity.Person_ModifyPersonId = null; }
private void attach_RbServices_CreatePersonId(RbService entity) { this.SendPropertyChanging("RbServices_CreatePersonId"); entity.Person_CreatePersonId = this; }