15.6. Querying the Data Model

To query objects in the data model, there are a few approaches you can take depending on your application's needs. The first one is using Language Integrated Query (LINQ), which most of the time is just what you need. The second one is using Object Query Language (OQL), and that is used mostly when queries are dynamically created at runtime. However, since you can also create runtime queries with LINQ, this option is rarely used. The final approach is to use SQL queries created using strings.

15.6.1. Using LINQ

Using LINQ to query the data model is no different than using other LINQ implementations, such as LINQ to Entities, LINQ to SQL, or LINQ to Objects. Telerik OpenAccess ORM provides support for most LINQ ...

Get Pro Telerik ASP.NET and Silverlight Controls: Master Telerik Controls for Advanced ASP.NET and Silverlight Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.