This article from Mike Brind shows how to configure a many-to-many relationship on the same table using the Entity framework.