摘要 |
Object persistence to a relational database, within a run-time environment that has reflection and attribute properties, is disclosed. The invention can be implemented within a software module or library that contains a persistent base class that includes persistence functionality relative to a relational database. A software object class is derived from the persistence base class. The software object class inherits the persistence functionality from the persistence base class. A developer can add appropriate persistence attributes to the software object class source code. The software object class is then compiled to an executable form that has the persistence functionality built-in. The executable software object is thus able to persist to the relational database using this methodology.
|