异常:数据库不能被构造类型。您必须配置容器供应这个值。解决方案

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

 
               在ConnectionString配置节增加 providerName="System.Data.SqlClient" 属性 即可!
posted @ 2015-08-28 10:44  も不秃不秃  阅读(366)  评论(0编辑  收藏  举报