PomeloFoundation/Pomelo.EntityFrameworkCore.Extensions.ToSql

ReflectionCommon throws exception for EF Core 2.1

toralux opened this issue · 0 comments

Pomelo.EntityFrameworkCore.Extensions.ToSql throws exception for EF Core 2.1/2.1.1

IQueryableExtensions.cs:
ReflectionCommon:
public static readonly MethodInfo CreateQueryParserMethod = QueryCompilerTypeInfo.DeclaredMethods.First(x => x.Name == "CreateQueryParser");

CreateQueryParser is not available any more in EF Core >= 2.1