Is your feature request related to a problem? Please describe
When using lib Microsoft.AspNetCore.OData and requesting $count of elements in entity set, the lib requests LongCount on IQueryable. Without LongCount method support the query fails on System.NotSupportedException: The method 'LongCount' is not supported.
Describe the solution you'd like
Add support for LongCount in DefaultQuerySqlGenerator class.
Is your feature request related to a problem? Please describe
When using lib Microsoft.AspNetCore.OData and requesting $count of elements in entity set, the lib requests LongCount on IQueryable. Without LongCount method support the query fails on System.NotSupportedException: The method 'LongCount' is not supported.
Describe the solution you'd like
Add support for LongCount in DefaultQuerySqlGenerator class.