How to online get list of items based on nested owner property #454
Unanswered
JeanDanielGasser
asked this question in
Q&A
Replies: 1 comment
-
|
There are multiple ways to do this, and it depends on your data model. I’d likely create a table of inspections with a project ID and is archived, then use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
In my application, I have two types of objects:
Projectobject with anIsArchivedproperty, each project contains one or more inspectionsInspectionobject that is linked to the project viaProjectIDandProjectpropertiesI created the DataSync server, which implements the two controllers
ProjectsControllerandInspectionsControllerthat inherit from theTableControllerclassEverything works on the server side.
On the client side, I can retrieve the list of projects that are not archived using the following code:
I would now like to retrieve the list of all inspections contained in a project that is not archived.
The following code fails:
Here is the exception:
System.NotSupportedException: 'The member 'IsArchived is not supported in the 'Where' clause'Can anyone help me find a solution to this problem?
Thank you in advance for your help
Beta Was this translation helpful? Give feedback.
All reactions