Azure / azure-cosmos-dotnet-v3

.NET SDK for Azure Cosmos DB for the core SQL API
MIT License
737 stars 493 forks source link

LINQ LongCount #1505

Open bchong95 opened 4 years ago

bchong95 commented 4 years ago

Would like to see that the LINQ provider supports LongCount:

https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.longcount?view=netcore-3.1

which is basically an int64 overload of the existing int32 count.

@ealsur mentioned that "Currently OData providers use LongCount and we are not supporting this"

ealsur commented 4 years ago

LongCount is used in OData providers. A recent conversation with @cecilphillip and the work he was doing at https://github.com/cecilphillip/odata-dotnet-scenarios showed this requirement.