以上来源于: WordNet
You use the active record pattern to wrap relational database persistence methods in domain classes.
活动记录模式则可用来在域类内包装关系数据库持久性方法。
Next, create the classes in your app that will use the active record pattern to model a database table.
接下来,创建在应用程序,将使用该活动记录模式模型数据库表中的类。
In this case, we will follow the Active Record pattern and wrap a database row with a class capable of all database operations. Its code is shown below.
在本例中,我们将遵循active Record模式并用能够执行所有数据库操作的类封装数据库行。
应用推荐