I was trying to use a MongoDB with the HierarchicalUserAccount and custom database samples over here. The current MongoDB driver ditched IQueryable in favor of async/await, so that resulted in some trouble. Since as a result there can be no IQueryable<CustomUser> Queryable, QueryableUserAccountRepository is off the table.
I though of doing it the hard way, however IUserAccountRepository (and fellows) as well don't support the paradigm of returning a Task<CustomUser> instead of a CustomUser. Did I miss something or is there any way around that?
I was trying to use a MongoDB with the
HierarchicalUserAccount
and custom database samples over here. The current MongoDB driver ditchedIQueryable
in favor of async/await, so that resulted in some trouble. Since as a result there can be noIQueryable<CustomUser> Queryable
,QueryableUserAccountRepository
is off the table.I though of doing it the hard way, however
IUserAccountRepository
(and fellows) as well don't support the paradigm of returning aTask<CustomUser>
instead of aCustomUser
. Did I miss something or is there any way around that?That said, I'm using ASP.NET "vNext" (beta 7).