From (keyword)
From RemObjects Software
Query Expressions allow you to drill into nested sequences, basically flattening out the hierarchy, by using nested from clauses. For example, the following query would return all orders placed by customers in Sydney:
var list := from c in MyCustomers where c.City = 'Sydney' from o in c.Orders order by o.OrderDate desc;
This query will first filter the customer list, using where clause. From all the customers left, it will now create a new sequence combining all the orders. Finally, the entire list of all orders will be ordered by date.
See Also
Product: RemObjects Oxygene (formerly known as Chrome)
Current version: 3.0
Previous Versions: 'Joyride' (2.0), 'Floorshow' (1.5), 'Adrenochrome' (1.0)
Glossary — Keywords — Language Features — Platform Features — Samples — Articles — How To — Issues
Categories: Text | Oxygene | Language | Keyword
