Habanero.BO.ClassDefinition.SingleRelationshipDef.AreAllPropsCompulsory C# (CSharp) Method

AreAllPropsCompulsory() private method

Returns true if this RelationshipDef is compulsory. This relationship def will be considered to be compulsory if this OwningBOHasForeignKey and all the IPropDef's that make up the IRelKeyDef are compulsory
private AreAllPropsCompulsory ( ) : bool
return bool
        private bool AreAllPropsCompulsory()
        {
            return this.OwningBOHasForeignKey
                   && this.RelKeyDef != null
                   && this.RelKeyDef.Count > 0
                   && this.RelKeyDef.All(PropDefIsCompulsory);
        }