Evaluant Universal Storage Services Reference Documentation
1. Introduction to Euss. 6
1.1. Overview.. 6
1.2. Open Source. 6
1.3. Features. 6
1.4. A Basic Euss Application. 6
1.4.1. Defining the class. 6
1.4.2. Adding a configuration file. 7
1.4.3. Loading and storing objects. 8
1.4.4. Creating a Mapping file. 9
1.5. Conclusion. 10
2. Architecture. 11
2.1. Overview.. 11
2.1.1. Object Services. 11
2.1.2. Core Services. 11
2.1.3. Persistence Engines. 12
2.2. Contexts. 12
3. Configuration. 13
3.1. XML Configuration. 13
3.1.1. Usage. 13
3.1.2. Configuration Files. 13
3.2. Programmatic Configuration. 14
3.3. Logging. 14
3.3.1. Overview.. 14
3.3.2. Choosing the trace destination. 15
4. Persistent Classes. 16
4.1. Plain Old Classes. 16
4.1.1. Implement a default constructor. 16
4.1.2. Provide an identifier property (optional). 17
4.1.3. Use non-sealed classes. 17
4.1.4. Declare fields as protected. 17
4.1.5. Declare property getter and setter on fields. 17
4.1.6. Declare reference properties as virtual 17
4.1.7. Use IList for collections. 17
4.2. Generating the Classes. 17
4.2.1. Model files. 17
4.2.2. Euss Domain Model files and Visual Studio. 18
4.2.3. Xmi files and Visual Studio. 19
4.2.4. Using the command line utility. 19
5. Working With Objects. 20
5.1. Object States. 20
5.1.1. Transient. 20
5.1.2. Persistent. 20
5.1.3. Detached. 20
5.2. Managing Transactions. 20
5.3. Making Objects Persistent. 21