toQuery
Last updated
Last updated
Use the toQuery
method to transform an entity ORM object into a object.
The toQuery
transform allows the functionality of the table query to be used with ORM objects.
The example below transforms the Categories
ORM query for CategoryName
into a table query. It then joins Categories
with Products
adding ProductName
to the list of selected fields. Last, it executes the query directly against the Northwind
data source.