MVC 连接数据库问题
MVC Music store练习中,按照书中操作,但是在添加控制器Store Manager过程中出现了如下错误:
Unable to retreive metadata for 'MvcMovie.Models.Movie'. Using the same DbCompiledModel to create contexts against different types of database servers is not supported. Instead, create a separate DbCompiledModel for each type of server being used
解决方法是Connectstring默认就好了。。。