Hi,
I have stored some records in to database using ADO.NET Entity Framework. I want to know total record count in particular table using ADO.NET Entity Framework in C#.Net .
I given some example, but it is not working.
EX:
DataServiceQuery<BunHistory> query= context.BunHistory.IncludeTotalCount();
QueryOperationResponse<BunHistory> response
query.Execute() as QueryOperationResponse<BunHistory>;
long count = response.TotalCount;
When i run this code i got some exception "An error occurred while processing this request." like this.
Thanks