You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varquery=newODataQueryBuilder().For<Thing>("Things").ByList()// expected: title,id// actual: Title,Id.Select(x =>new{x.Title,x.Id});// allow multiple select as a solution?//.Select(x => x.Title)//.Select(x => x.Id)// or introduce another approach for selecting several columns?varparts=query.ToDictionary();
We get value Title,Id for $select but expecting title,id.
The documentation talks about using .Select(s => new { s.Id, s.Sum, s.Type }).
Having some class,
the next code doesn't work as expected:
We get value
Title,Idfor$selectbut expectingtitle,id.