更新时间:2023-02-25 21:59:24
将属性设置器标记为内部时,脚手架将忽略它.只需将其从属性中删除,即可进行设置(双关语意):
When you mark the property setter as internal, the scaffolding ignores it. Simply remove that from the property and you should be set (pun intended):
public string ReviewerName { get; set; }