Telerik OpenAccess Classic

Telerik OpenAccess ORM Send comments on this topic.
Queries
Programmer's Guide > OpenAccess ORM Classic (Old API) > Programming With OpenAccess > Query a Data Model > Queries

Glossary Item Box

This documentation article is a legacy resource describing the functionality of the deprecated OpenAccess Classic only. The contemporary documentation of Telerik OpenAccess ORM is available here.

You can perform value-based queries to retrieve objects from the database. Queries are based on field values rather then the return values of properties of the persistence capable classes. What this means is that a query for employees with a LastName equal to "Miller" will only work if LastName is field name and not a property of the Employee class.

OpenAccess ORM uses OQL, the Object Query Language. OQL is specified by the Object Data Management Group (ODMG). For a complete description of the OQL query language as implemented by OpenAccess ORM, refer to the Telerik OpenAccess ORM OQL Reference.

OpenAccess ORM provides you with an OQL Query Browser, which enables you to parse and execute your OQL queries and get its corresponding SQL statements and results.