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

Attaching and Detaching Persistent Entities

3 Answers 80 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.
Maurizio
Top achievements
Rank 2
Maurizio asked on 03 May 2012, 10:33 AM
Hello,

in my project we need the ability to detach and attach persistent entities which is on the Roadmap for the Q2/2012 release. Can you affirm that this is comming in the next release and is there allready a release date?

best regards

3 Answers, 1 is accepted

Sort by
0
Ivailo
Telerik team
answered on 03 May 2012, 10:51 AM
Hello Thomas,

This year the Q2 release is expected in June, most probably within the first half of the month.

We are indeed planning some attach/detach improvements for Q2 2012. In fact, it will be helpful if you could share your scenario with us so that we can test our ideas against it - and enhance the chances for your case to be supported. You can do so through a support ticket as well, in case there is anything you wouldn't like to share publicly. 

I am looking forward to your feedback.

Kind regards,
Ivailo
the Telerik team
Follow @OpenAccessORM Twitter channel to get first the latest updates on new releases, tips and tricks and sneak peeks at our product labs!
0
Alex
Top achievements
Rank 2
answered on 29 May 2012, 03:23 PM
Hi,

I have a scenario where I want to update an entity that comes through a call to a web service as a Json object. I deserialize the json into an entity object, and I'd like to attach this entity to a context in order to update it in the backend.

Thanks,

Alexis
0
Ivailo
Telerik team
answered on 11 Jun 2012, 06:21 PM
Hi Alexis,

I am copying and enhancing the answer you have received on the other thread you have stared about ObjectNetworkAttached.

In general we are offering two approaches for attaching an entity:
1) ObjectNetworkAttacher - this option is available only for the old ObjectScope API.
2) Attach/Detach to contexts - a new functionality implemented for the OpenAccessContext. Stage 1 of it is available as described in the documentation article in Q2 2012. Stage 2, allowing you also to attach entities that are not known for a context (for instance deserialized objects in an N-Tier scenario), is planned for Q2 SP1, about to be released by the end of June.


Greetings,
Ivailo
the Telerik team
Follow @OpenAccessORM Twitter channel to be the first one to get the latest updates on new releases, tips and tricks and sneak peeks at our product labs!
Tags
General Discussions
Asked by
Maurizio
Top achievements
Rank 2
Answers by
Ivailo
Telerik team
Alex
Top achievements
Rank 2
Share this question
or