Your dentist should be made aware and can then take appropriate advice from your medical team if required.  For example, patients with complement deficiency on prophylactic antibiotics may well require an additional regimen pre-dental treatment, but other PIDs may not.