Elementary 0.8 Developer's Guide


Table of Contents

1. Getting Started
1. Introducing Elementary
2. A Simple Example
3. A Simple Example - Explained
2. Composite Primary Keys
3. Child Mappings (1-1, 1-n, n-n)
1. 1-1 Child Mappings (One to One)
1.1. One-to-One Explained
2. 1-n Child Mappings (One to Many)
2.1. One-To-Many Explained
3. n-n Child Mappings (Many to Many)
3.1. Many-To-Many Explained
4.
4. Mapping Inheritance, Aliases and Filters
1. Mapping Inheritance
2. Aliases and Filters
5. Object Query Language (OQL)
6. Object Caching
7. Optimistic Concurrency
8. Dynamic Objects
9. Automatic Dynamic Objects
10. Schema Inference
11. Mapping Validation - Reflection and Schema Checking
12. Advanced Concepts
1. Polymorphic Mappings
2. Multi-Table Mappings
13. Attribute Reference
1. ElementaryClass
2. ElementaryDatabase
3. HasMany
4. HasManyAndBelongsToMany
5. HasOne
6. Persist
14. Elementary Class Reference
1. IDataMapper<T> GetIDataMapper<T>()
2. IDataMapper<T> GetIDataMapper<T>(string alias)
3. IObjectMapper<T> GetIObjectMapper<T>()
4. IObjectMapper<T> GetIObjectMapper<T>(string alias)
5. void LoadAssembly(string file)
6. string LoadLog
7. void LoadMappingsFile(string file)
15. IObjectMapper Class Reference
1. int Count
2. void Delete(T object)
3. IList<T> GetCollection()
4. IList<T> GetCollection(string query)
5. IList<T> GetCollectionWithChildren()
6. IList<T> GetCollectionWithChildren(string query)
7. T GetObject(object id)
8. T GetObject(AbstractCompositeKey ids)
9. T GetObjectWithChildren(object id)
10. T GetObjectWithChildren(AbstractCompositeKey ids)
11. void Load(T object, object id)
12. void Load(T object, AbstractCompositeKey ids)
13. void LoadChildrenOnly(T entity)
14. void LoadWithChildren(T object, object id)
15. void LoadWithChildren(T object, AbstractCompositeKey ids)
16. IList<string> RecentStatements
17. void Save(T object)
18. void SaveWithChildren(T object)
16. IDataMapper Class Reference
17. Mappings File Reference