The persistence layer story the static part of object through the object / relation mapping rule and inherit the common database interface to realize the behavior when story a object. 持久层在存储一个对象时,将对象的静态部分(属性)通过对象/关系转换规则存储在数据库的表中,而对象的行为通过继承持久层提供的公共数据库访问接口获得。
In order to access the database in an object-oriented way, an interface translating the object logic to the relational logic is required. 为了访问一个面向对象数据库的方式,对象的接口转换逻辑到关系的逻辑是必需的。
In step of logical design, database models and package diagrams are presented in definition of object class, user interface and object class diagrams. 在逻辑设计阶段,充分利用定义对象类、定义用户接口、定义对象类图等方法建立ERP系统数据库模型和包图;
Security configuration and database forms to save data information are set. Friendly human computer interface is established by using object oriented program technology and intelligent program design. 对数据库进行了安全设置,设计了存储数据信息的数据表,利用面向对象编程技术和智能化的程序设计开发了友好的人机交流界面。
ADO is a database of component-based programming interface. In this paper, the Visual C + + loaded ADO and then established ADO object to access a remote Access database, And to update the database within the corresponding storage unit through the PLC real-time data. ADO是基于组件的数据库编程接口,本文通过在Visualc++中载入ADO控件,通过命令建立ADO对象来访问远程Access数据库,并且将通过串口采集来的PLC数据实时更新数据库内相应的存储单元。