Habanero.BO.ClassDefinition.SingleRelationshipDef.AreAllPropsCompulsory C# (CSharp) 메소드

AreAllPropsCompulsory() 개인적인 메소드

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
리턴 bool
        private bool AreAllPropsCompulsory()
        {
            return this.OwningBOHasForeignKey
                   && this.RelKeyDef != null
                   && this.RelKeyDef.Count > 0
                   && this.RelKeyDef.All(PropDefIsCompulsory);
        }