WAQS Querying: Load calculated properties

7 reasons to use WAQS

WAQS documentation


I previously wrote about how to query calculated properties with WAQS (Querying on calculated properties and Avoid useless data loading using With method) but sometimes you want to got the property calculation from the server on an already loaded entity. So for this, WAQS adds Load methods as extension methods on entities.

So for example, you can use this code:

await customer.LoadCustomerNameAsync();

And WAQS just does the job as if we got this property using the With method on our entity query.

This entry was posted in 16868. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *