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);
        }