This is a migrated thread and some comments may be shown as answers.

Can OQL provide materialize objects API ?

1 Answer 85 Views
OQL (OQL specific questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
yjh
Top achievements
Rank 1
yjh asked on 14 Jul 2011, 10:57 AM
Can OQL provide materialize objects API as ADO API do in 2011 Q2 ?

It's better to get a Non-Persistent or Persistent Type than object[] when using projection.

1 Answer, 1 is accepted

Sort by
0
Accepted
Damyan Bogoev
Telerik team
answered on 14 Jul 2011, 02:18 PM
Hi Yjh,

1. I am afraid that we do not plan support for such API. Actually you could use the generic OQL API methods to materialize the result from the OQL query to a persistent capable class.
2. Materialization to a non-persistent capable class does not include change tracking, caching and it is faster.
Hope that helps. If any other questions arise, do not hesitate to contact us back.

Regards,
Damyan Bogoev
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
OQL (OQL specific questions)
Asked by
yjh
Top achievements
Rank 1
Answers by
Damyan Bogoev
Telerik team
Share this question
or