ABP学习笔记

时间:2023-03-10 06:20:31
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 不支持异步???