Because most of the behavior in MyContext inherited from the base class in the entity structure. If you call these methods (e.g. SaveChanges() ) from Tester , the Tester application requires a reference to the class library where the method is defined.
If you only used the MyContext methods that are defined in your class library, I think that you could do without a reference to the base class.
source share