Moq Params TargetParameterCountException : Parameter count mismatch Exception

前端 未结 4 649
囚心锁ツ
囚心锁ツ 2020-12-10 05:15

Following is my generic base repository interface

public interface IRepository
{
    IQueryable AllIncluding(params Expression

        
4条回答
  •  时光说笑
    2020-12-10 05:58

    Another solution for solving this issue is to use: .AsQueryable() instead of .AsQueryable.

提交回复
热议问题