We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I assume this is more of the question than an issue.
I have an object that looks a little like this Truck{ Driver[] Drivers }
Truck{ Driver[] Drivers }
in driver there is an Id field.
if I try and use "$filter=Drivers/any(d: d/Id eq '{0}')" It comes back saying that Driver[] does not have an id field.
if I run this: foreach (var truck in trucks) { var test = truck.Drivers.Any(a => a.Id == "dddd"); }
foreach (var truck in trucks) { var test = truck.Drivers.Any(a => a.Id == "dddd"); }
it works fine. Also if I convert the driver array to a list LinqToQuerystring works fine.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I assume this is more of the question than an issue.
I have an object that looks a little like this
Truck{ Driver[] Drivers }
in driver there is an Id field.
if I try and use "$filter=Drivers/any(d: d/Id eq '{0}')" It comes back saying that Driver[] does not have an id field.
if I run this:
foreach (var truck in trucks) { var test = truck.Drivers.Any(a => a.Id == "dddd"); }
it works fine. Also if I convert the driver array to a list LinqToQuerystring works fine.
The text was updated successfully, but these errors were encountered: