Query Question
Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=690
Printed Date: 18-May-2025 at 7:25am
Topic: Query Question
Posted By: GrMikeD
Subject: Query Question
Date Posted: 21-Feb-2008 at 3:20pm
Hi!
I have a small question concerning the capabilities of OQL. If I have read correctly in the developer's manual, all the Query classes derive from the EntityQuery class. That means that they should always return a business object. What happens when I create passthru queries based on the following raw SQL statements:
1) SELECT name, email from Customer;
2) SELECT COUNT(*) from Customer; If I understood correctly, do I have in this case to retrieve all the Customer objects and then read the count property of their list?
|
Replies:
Posted By: GrMikeD
Date Posted: 21-Feb-2008 at 11:30pm
Ok I found the answer, a Dynamic Entity should be what I am looking for...
|
|