Is a returned Complex Type updateable?

2 posts, 0 answers
  1. Richard
    Richard avatar
    6 posts
    Member since:
    Jan 2011

    Posted 30 Nov 2011 Link to this post


    If i have a complex type returned from a stored procedure, can i update the complex type and have these changes updated in the database?


  2. PetarP
    PetarP avatar
    754 posts

    Posted 02 Dec 2011 Link to this post

    Hi Richard,

     This is not possible at the moment. All projections that are returned from stored procedures are detached and as such are not tracked by our context. The only updateable result set is the persistent type as all entities mapped to persistent type are tracked by the context and any changes made on them will be reflected on teh database.

    the Telerik team

    Q3’11 of Telerik OpenAccess ORM is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

Back to Top