LINQ queries demonstrate how to operate and query the QuickBooks Online objects wrapped in an Entity Framework data model. Listed below are some examples of LINQ queries supported by the Entity framework.
Contains Retrieve all entities that contains "A" in the Note column |
|
||||
Count
Count all entities that match a given criterion |
|
||||
Select and Filter
Select record with a specific Id |
|
||||
Limit
Select first 10 records |
|
||||
Order By
Sort data by Size in descending order. |
|
||||
Group By
Group records from the Attachables table based on the Category property. The groups are then ordered in descending order based on the Category. |
|
||||
Joins
Cross join PurchaseOrders and Purchases tables. |
|