There are certainly similarities between EDD and Personality Disorder but also they are separate diagnosis. The main similarities are an unfounded sense of abandonment and often an aggressive attitude to people and life.
EDD sufferers have difficulty reacting appropriately to Emotions often trying to control someone else’s relationships
They may search for someone to blame when a problem arises rather than seek a solution and often harbour grudges, or hang onto unresolved anger.
They often create and revel in conflict, engage in circular conversations or arguments with no logic or end.
They frequently have a sense of entitlement, live in denial and believe some past events or circumstances are fictional. There can also be a tendency to self-harm through cutting or self-abusive disorders such as substance abuse or an eating disorder.
Personality Disorder: As I previously wrote. there are similarities but also there are differences, enough differences for your mental health professional to have assessed you with EDD rather than PD. I won't go into details of PD as its easily googled and not part of your question.
I hope this helps and you are offered appropriate treatment which could include Dialectical Behaviour Therapy ( DBT), Cognitive Behavioral Therapy (CBT) and coping strategies such as yoga and mindfulness.