Open
Description
Hello!
I would like to know if I can use the $count
method without creating an IEdmModel
using only EnableDependencyInjection
in Startup class ASP.NET Core web application and [EnableQuery] in Controller?
Using only EnableDependencyInjection and [EnableQuery] method $count=true
don't work - returns only the list of records of the current object.
If I use IEdmModel
and MapODataServiceRoute
in Sturtup class, then the $count
method works - returns the list of records of the current object and count attribute.