Can OQL provide materialize objects API ?

2 posts, 1 answers
  1. yjh
    yjh avatar
    67 posts
    Member since:
    Aug 2007

    Posted 14 Jul 2011 Link to this post

    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.
  2. Answer
    Damyan Bogoev
    Admin
    Damyan Bogoev avatar
    581 posts

    Posted 14 Jul 2011 Link to this post

    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!

  3. DevCraft banner
Back to Top