Attaching an entity of type failed because another entity of the same type already has the same primary key value.

主キーが二つあるってエラーなのかなこれ
AがBクラスのリストを持っている構造でエラーが起きています