refactorthis/GraphDiff — pull request #80 by mwijnands (2014-08-29 15:53:58+00:00)
Title: #72: Fix for creating an entity with a private constructor.

Added a test for creating an entity with a private constructor. Removed new() contstraints.

I used DbSet.Create() to create an entity. This will only create a proxy class when the DbContext is configured to do so. So I think that is the desired behaviour.