QQ交流群:110826636

在使用DapperExtensions时遇到"其他信息: ConnectionString 属性尚未初始化。"错误

今天在使用在使用DapperExtensions时遇到"其他信息: ConnectionString 属性尚未初始化。"错误。

 

 

                //return conn.GetList<T>(predicate, sort, null, null, buffered);使用该代码报错,在ToList之后不会
                return conn.GetList<T>(predicate, sort, null, null, buffered).ToList();

  

posted @ 2019-10-24 18:45  FourOne  阅读(620)  评论(0编辑  收藏  举报