ABP学习笔记

 
1. 用 Nhibernate:CountAsync 是定义在System.Data.Entity里的
var totalCount = await query.CountAsync();
出现以下错误:
System.InvalidOperationException: The provider for the source IQueryable doesn't implement IDbAsyncQueryProvider. Only providers that implement IDbAsyncQueryProvider can be used for Entity Framework asynchronous operations. 
Nhibernate 不支持异步???
posted @ 2016-04-30 22:04  软件技术开发  阅读(662)  评论(0编辑  收藏  举报