Project Description

What is it all about?

The component advadev Data Storage allows you to save data objects by its XML-Serialization easily in generic data storages. And you can do this without the need of a custom data access layer implementation. Supported data storages of this component are: Additional to that this component provides support to publish and consume such data storages as WCF services. Custom data storages can be implemented in addition without a big effort

What is the intention of this component?

The main use case in mind is to use this component in small applications or for prototypes. In all places where the implementation of a custom data access layer would be a too big effort and only simple (XML-serializable) data objects are in use

How can I use this component?

You must add this component as reference to you .Net application. All classes for which you plan to save objects by using this component must implement also the interface IGenericObject (which just have an ID-Property to identify objects). According to the selected data storage some additional adaptions have to be made: Hint: You can publish a certain data storage one time as WCF-Service and after that you can use it in all of your applications without any additional effort

Example Code

IDataStorage myDataStorage = new XmlFileDataStorage("Demo Application", ".\datastorage.xml");
myDataStorage.Save<User>(new User(1, "Tom"));
User user = myDataStorage.Find<User>("1");

Thomas Gysser | www.advadev.de | advadev.blogspot.de
... advanced development