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

    Hi,

    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?

    Thanks,


    Richard
  2. PetarP
    Admin
    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.

    Regards,
    Petar
    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!

  3. DevCraft banner
Back to Top