Hello All,
I am using silverlight with Ideablade in one of our applications, below is the ExecuteQueryAsync method to execute query, can you guys please help me how to get count of the records other than looping through results and counting.
below is the code I am using
_mgr.ExecuteQueryAsync(_mgr.Assets.Where(a => a.ParentID == customerid
) , GotAssets, null);
I tried to use
_mgr.ExecuteQueryAsync(_mgr.Assets.Where(a => a.ParentID == customerid ).Count() , GotAssets, null);
but it throws error.
Please help or point me to similar examples.
Thanks,