How to Use Crosslight in Reloading an Entity and its Navigation Properties from Server-Side?

2 replies. Last post: September 3, 2015 10:21 AM by leo Chandra
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Jimmy TungolMember

We've posted a similar question before (click here), but this approach is unstable. The first time an entity is being saved, the navigation properties should already contain the calculated data based on triggers. We have to send another save request from the client-side in order to get the updated values for the navigation properties. This is terrible, we can;t send multiple requests just to get the updated values. This leads us to refresh data from client-side by using GetSingleAsync() method from the repository, but we're getting errors using commposite keys (see here). Still this seems like multiple round trips from client-side to the server (after saving > refresh data).

Please advise! Thanks!

All times are GMT -5. The time now is 6:04 AM.
Previous Next