As you can seen in the diagram below there is a one-to-many relationship between the ProjectTask and Dependency table.
By default, when you add a database view to your model, Entity Framework will assume every single column is part of the primary key. It does the same thing if you add a table without a primary key defined.
The solution is to manually edit the edmx file with an XML editor and define the primary key yourself. Find the