delphi中的对象关系映射工具InstantObjects的学习。
User Guide for InstantObjects 2.0的翻译
This user guide contains practical guidelines for building InstantObjects based applications. The intention is to give an overview of the classes, components and tools that make up the InstantObjects framework. Although the guide is very detailed, it has not been the intention to cover all aspects of the framework. If more information is needed, please refer to the Symbol Reference.
(译文)
本用户手册包含构建InstantObjects 应用程序的实用指南。本文的目的是对InstantObjects framework中类,组件和工具进行全局的介绍。尽管本手册非常的详尽,但是它并没有包括框架中的所有方面。如果需要更多的信息,请参见Symbol Reference。
Creating the Business Model 创建业务模型
Object Oriented applications are based on models. This section covers the definition of the InstantObjects business model, which is the initial step in the creation of an InstantObjects based application. The InstantObjects Model Explorer is the central tool in this process.
The InstantObjects business model consists of a collection of user designed classes, many of which are related through inheritance or association. Most if not all of the data controlled by these classes is required to be persisted or stored in such a way that the relationships among this data are retained. In addition to the simple class attribute types, which provide persistence for the Object Pascal equivalent simple types (eg string or integer) , the InstantObjects framework provides several class attribute types to facilitate the persistence of instances of related classes. These attribute types are known as relational or complex attributes.
(译文)
模型是面向对象的应用的基础。本节有如下主题:InstantObjects business model的定义,创建InstantObjects 应用的最初步骤。 The InstantObjects Model Explorer 是这个过程中的核心工具。
The InstantObjects 业务模型是由一系列的用户自定义的类,大多数的类都是通过继承和关联构成。