The type Database cannot be constructed. You must configure the container to supply this value.

The type Database cannot be constructed. You must configure the container to supply this value.


               在ConnectionString配置节增加 providerName="System.Data.SqlClient" 属性 即可!


转自:http://blog.csdn.net/newdtech/article/details/8636979

你可能感兴趣的:(The type Database cannot be constructed. You must configure the container to supply this value.)