See " inheriting from persistent classes " for a way to isolate programs from the database choice by using inheritance 有关通过使用继承来将程序与数据库选项隔离的方法,请参阅
In the persistent classes , the datastore is an abstract storage device , which can be a file or a database , for example 在persistent类中,数据存储器是抽象存储设备,例如,它可以是文件或数据库。
By dave winters , has additional information about the persistent classes on this page , which you can also find on the cpan search page 上有关于persistent类的详细信息,也可以在cpan搜索页上找到。
Remember that good design and a clear definition of the attributes are just as important as the persistent classes in achieving successful data persistence 请记住,在实现成功的数据持久性时,好的设计和属性的清晰定义与persistent类同等重要。
The table must match the definition of your attributes ; for example , the primary database key for the equations table must be the primary key of the persistent class as well 表必需与属性定义匹配,例如,等式表的主数据库键必须也是persistent类的主键。