private bool AreAllPropsCompulsory() { return this.OwningBOHasForeignKey && this.RelKeyDef != null && this.RelKeyDef.Count > 0 && this.RelKeyDef.All(PropDefIsCompulsory); }