From (keyword)

From RemObjects Software

Jump to: navigation, search

This is a Oxygene Keyword topic
Feel free to add your notes to this topic below.



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)

GlossaryKeywordsLanguage FeaturesPlatform FeaturesSamplesArticlesHow ToIssues

Personal tools