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

Is a returned Complex Type updateable?

1 Answer 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Richard
Top achievements
Rank 1
Richard asked on 30 Nov 2011, 04:06 PM
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

1 Answer, 1 is accepted

Sort by
0
PetarP
Telerik team
answered on 02 Dec 2011, 04:12 PM
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!

Tags
General Discussions
Asked by
Richard
Top achievements
Rank 1
Answers by
PetarP
Telerik team
Share this question
or