A
archway
Hi,
I am writing an application whereby there is an object model that holds the
data for the application, which is then saved to file. Now, ideally I would
like to open this file and deserialize the object model when the application
loads and then keep this object structure open throughout the duration of
the application.
A couple of questions:
* Is this a good architecture?
* How would you make the object model available to the entire WinForm app?
* How would you instantiate it when the application loads?
Thanks in advance for any advice!
I am writing an application whereby there is an object model that holds the
data for the application, which is then saved to file. Now, ideally I would
like to open this file and deserialize the object model when the application
loads and then keep this object structure open throughout the duration of
the application.
A couple of questions:
* Is this a good architecture?
* How would you make the object model available to the entire WinForm app?
* How would you instantiate it when the application loads?
Thanks in advance for any advice!