这个问题是在MVC调用的时候 没有在WebConfig中加入:
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
加入地方如下: