您好,我使用serenity framework创建了这种形式的主从列,但是它告诉我ProcRequestID为null:
[DisplayName("Details"), MasterDetailRelation(foreignKey: "ProcRequestID")
, LookupInclude, MinSelectLevel(SelectLevel.Always)]
public List<ProcRequestPrRow> DetailList
{
get { return Fields.DetailList[this]; }
set { Fields.DetailList[this] = value; }
}