Save ObjectContainer to file ?

Thread is closed for posting
2 posts, 0 answers
  1. alainb
    alainb avatar
    1 posts
    Member since:
    Apr 2009

    Posted 18 Aug 2009 Link to this post

    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.
  2. Zoran
    Zoran avatar
    534 posts

    Posted 21 Aug 2009 Link to this post

    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,
    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.
Back to Top