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

GetRelationInfoSnComments() public method

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