I'm using AutoQueryable and I wanted to know if there was a way that I could put a filter on related items? So for example say we have a person table with a related table called Address. The address table has a flag called Active which is a boolean True or False.
I want to filter away the Addresses that are not active.
I'm guessing you could do something to the URI
So: http://localhost/api/v1/person?select=address.
But I was curious if is a way to do this on the API side of things so I can always remove any related entity the user picks from that is not active? (I have the ActiveFlag in all of my tables)
I'm using AutoQueryable and I wanted to know if there was a way that I could put a filter on related items? So for example say we have a person table with a related table called Address. The address table has a flag called Active which is a boolean True or False.
I want to filter away the Addresses that are not active.
I'm guessing you could do something to the URI
So: http://localhost/api/v1/person?select=address.
But I was curious if is a way to do this on the API side of things so I can always remove any related entity the user picks from that is not active? (I have the ActiveFlag in all of my tables)