Orchard CMS 数据库部分与 PartRecord [英] Orchard CMS Database Part vs PartRecord

查看:47
本文介绍了Orchard CMS 数据库部分与 PartRecord的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Orchard 数据库中,存在以Record"结尾的表名和以PartRecord"结尾的表名.

In Orchard database, there is tables name ending with 'Record' and other with 'PartRecord'.

这背后的逻辑是什么?

推荐答案

零件记录的表格应以PartRecord"结尾.如果表以Record"结尾而前面没有Part",则不应映射到 Part 记录.例如,ContentItemRecord"是一条记录,但不是部分记录.ContentItem 不是一部分.

The tables for a part record should end in "PartRecord". If a table ends in "Record" without "Part" in front, it shouldn't map to a part record. For example, "ContentItemRecord" is a record, but not a part record. ContentItem is not a part.

这篇关于Orchard CMS 数据库部分与 PartRecord的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆