WCF DS client return less results than the same request in the browser
Strange thing:
var data = GetDataClient(); // trivial code
var query = data.UserTrackers.Expand("TodayNews");
Console.WriteLine(query);
var trackers = query.ToArray();
// only 3 results despite the fact that Fiddler shows the resonse with 开发者_如何学Go10 instances.
My guess is this is because the user tracker instance is already in the client before you queried, and the default MergeOption is AppendOnly.
Can you try changing the MergeOption to OverwriteChanges and see what happens?
Hope this helps.
Thanks Pratik
精彩评论