MonoSoftware.MonoX.DAL.EntityClasses.SnRelationshipEntity.GetRelationInfoDocument C# (CSharp) Method

GetRelationInfoDocument() public method

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'Document' to this entity.
public GetRelationInfoDocument ( ) : IRelationPredicateBucket
return IRelationPredicateBucket
        public virtual IRelationPredicateBucket GetRelationInfoDocument()
        {
            IRelationPredicateBucket bucket = new RelationPredicateBucket();
            bucket.PredicateExpression.Add(new FieldCompareValuePredicate(DocumentFields.Id, null, ComparisonOperator.Equal, this.DocumentId));
            return bucket;
        }
SnRelationshipEntity