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

Save ObjectContainer to file ?

1 Answer 40 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.
alainb
Top achievements
Rank 1
alainb asked on 18 Aug 2009, 12:17 PM
Hi,
Is it possible to save a full objectcontainer to a file ?

for example if i have an sale's application and my sale's man must go out of office for some days . i think the most usable scenario is to create an objectcontainer in my application (am I wright ?).is it possible to connect to the database at the office , fill a container with all the usable datas , and let my sale's man go out , restart the application every day and make a kind of restoration of the saved objectcontainer ?


thank you in advance.

1 Answer, 1 is accepted

Sort by
0
Zoran
Telerik team
answered on 21 Aug 2009, 11:53 AM
Hello alainb,

The Object Container, unlike the object scope, is a Serializable instance. That means you can always serialize the Object Container into a file and keep/transport it by your requirements. You will then get the Object Container in the exact same state after deserializing it.

Kind regards,
Zoran
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
alainb
Top achievements
Rank 1
Answers by
Zoran
Telerik team
Share this question
or