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

GetRelationInfoSnDiscussionTopic() public method

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