async-repository-dotnetcore-webapi icon indicating copy to clipboard operation
async-repository-dotnetcore-webapi copied to clipboard

Missing Method Exception

Open cherisys opened this issue 7 years ago • 0 comments

2018-11-03 00:01:57.1067 ERROR Some error in GetAllOwners Method: System.MissingMethodException: Method not found: 'System.Reflection.MethodInfo Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitor.get_SelectAsyncMethod()'. at Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor.VisitSelectClause(SelectClause selectClause, QueryModel queryModel) at Remotion.Linq.Clauses.SelectClause.Accept(IQueryModelVisitor visitor, QueryModel queryModel) at Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel) at Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitor.VisitQueryModel(QueryModel queryModel) at Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor.VisitQueryModel(QueryModel queryModel) at Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitor.CreateAsyncQueryExecutor[TResult](QueryModel queryModel) at Microsoft.EntityFrameworkCore.Query.Internal.CompiledQueryCache.GetOrAddQueryCore[TFunc](Object cacheKey, Func1 compiler) at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.ExecuteAsync[TResult](Expression query) at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable1.System.Collections.Generic.IAsyncEnumerable<TResult>.GetEnumerator() at System.Linq.AsyncEnumerable.Aggregate_[TSource,TAccumulate,TResult](IAsyncEnumerable1 source, TAccumulate seed, Func3 accumulator, Func2 resultSelector, CancellationToken cancellationToken) in D:\a\1\s\Ix.NET\Source\System.Interactive.Async\Aggregate.cs:line 118 at Repository.RepositoryBase1.FindAllAsync() in D:\GIT Repos\ASP.NET-Core-2.1\Apps\AsyncGenericRepository\Repository\RepositoryBase.cs:line 23 at Repository.OwnerRepository.GetAllOwnersAsync() in D:\GIT Repos\ASP.NET-Core-2.1\Apps\AsyncGenericRepository\Repository\OwnerRepository.cs:line 23 at AsyncGenericRepository.Controllers.OwnerController.GetAllOwners() in D:\GIT Repos\ASP.NET-Core-2.1\Apps\AsyncGenericRepository\AsyncGenericRepository\Controllers\OwnerController.cs:line 28

cherisys avatar Nov 03 '18 11:11 cherisys