ORM Open Access Demo
ASP.NET Ajax Demo
Extensions for ASP.NET MVC
Silverlight Demo
WPF Demo
Reporting Demo
All Products
UI Components
ASP.NET AJAX
ASP.NET MVC
Silverlight
WinForms
WPF
Productivity
JustCode
Data
OpenAccess ORM
Reporting
Automated Testing
WebUI Test Studio
TFS Tools
Work Item Manager
Project Dashboard
Content Management
Sitefinity .NET CMS
Visit Telerik site
Q1 2010 (v2010.1.310, 10 March 2010)
release history
Home
Reverse Mapping
Demo
Videos & Resources
Forward Mapping
Demo
Videos & Resources
Inheritance and Polymorphism
Demo
Videos & Resources
Using Object Container with Web Services
Demo
Videos & Resources
Transactions
Demo
Videos & Resources
Fetch Plans
Demo
Videos & Resources
Caching
Demo
Videos & Resources
Using OQL
Demo
Videos & Resources
Using LINQ
Demo
Videos & Resources
Sample Business Application
Demo
Videos & Resources
Generic Metadata Access and Artificial Fields API
Demo
Videos & Resources
OpenAccessDataSource
OpenAccessDataSource Events
Demo
Videos & Resources
Dynamic Set of Properties
Demo
Videos & Resources
Views
Demo
Videos & Resources
Stored Procedures
Demo
Videos & Resources
Model Metadata API
Demo
Silverlight Integration
Demo
Related Resources
Download Example in C#
Download Example in VB
Videos and Resources
Sample Applications
101 LINQ Samples
Silverlight and ADO .NET Data Services Integration
Telerik Reporting Integration
General Resources
Download Product
Download All Examples
Online Documentation
Videos
Blog
Knowledge Base
Code Library
Vote
+8
Watch Video
Using Oql
select
Select all customers
Select product with price higher than 4
Select products which names start with \'B\'
Select orders coming from Germany or having units with price higher than 40
CustomerID
Address
Bool1
City
CompanyName
ContactName
ContactTitle
Country
Fax
Phone
PostalCode
Region
1
2
3
4
5
6
7
8
9
10
Page size:
select
10
20
50
92
items in
10
pages
07091
Address
City
CompanyName
ContactName
ContactTitle
Country
XXX
YYY
ZZZ
Region
54848
Address
City
CompanyName
ContactName
ContactTitle
Country
XXX
YYY
ZZZ
Region
54867
Address
City
CompanyName
ContactName
ContactTitle
Country
XXX
YYY
ZZZ
Region
ANTON
Mataderos 2312
México D.F.
Antonio Moreno Taquería
Antonio Moreno
Owner
Mexico
(5) 555-3932
05023
AROUT
120 Hanover Sq.
London
Around the Horn
Thomas Hardy
Sales Representative
UK
(171) 555-6750
(171) 555-7788
WA1 1DP
BERGS
Berguvsvägen 8
Luleå
Berglunds snabbköp
Christina Berglund
Order Administrator
Sweden
0921-12 34 67
0921-12 34 65
S-958 22
BLAUS
Forsterstr. 57
Mannheim
Blauer See Delikatessen
Hanna Moos
Sales Representative
Germany
0621-08924
0621-08460
68306
BLONP
24, place Kléber
Strasbourg
Blondesddsl père et fils
Frédérique Citeaux
Marketing Manager
France
88.60.15.32
88.60.15.31
67000
BOLID
C/ Araquil, 67
Madrid
Bólido Comidas preparadas
Martín Sommer
Owner
Spain
(91) 555 91 99
(91) 555 22 82
28023
BONAP
12, rue des Bouchers
Marseille
Bon app'
Laurence Lebihan
Owner
France
91.24.45.41
91.24.45.40
13008
Query: select * from CustomerExtent as c
OQL (Object Query Language) is used to perform different queries to the persistent objects. When using OQL queries are performed to the persistent classes and not to database tables. The OQL queries will be the same no matter what database you use. OQL differs from SQL in that:
OQL supports object referencing within tables. Objects can be nested within objects;
Not all SQL keywords are supported within OQL. Keywords that are not relevant to Netcool/Precision IP have been removed from the syntax;
OQL can perform mathematical computations within OQL statements.