To make progress I have modified my code and have Clients loaded with the total population of Clients for all Locations
ok, some progress currently my breakpoint
here is being hit
SelectedLocationId has the value from the selected Location
I have modified the code what is not working with:
var clients = Clients.Where(c => c.OwnerLocationId == SelectedLocationId);
This works!
Now, unfortunately I am loading all Clients and then making a selection rather than just loading the one client I need, but right now I am not looking for performance, just stuff that works.
If anyone want to be generous and explain how that would work.....
Click on "Mark as Answer" if my answers help you along.
Contributor
2619 Points
2753 Posts
Cascading Select with Web API + EF core UPDATED / (mikesdotnetting improved)
Mar 13, 2021 10:54 PM|wavemaster|LINK
Hitting some obstacles modifying this to use Web API + EF Core 5.X
My variation is Locations and Clients
To make progress I have modified my code and have Clients loaded with the total population of Clients for all Locations
ok, some progress currently my breakpoint here is being hit
SelectedLocationId has the value from the selected Location
I have modified the code what is not working with:
This works!
Now, unfortunately I am loading all Clients and then making a selection rather than just loading the one client I need, but right now I am not looking for performance, just stuff that works.
If anyone want to be generous and explain how that would work.....