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

GetRelationInfoNewsItem() public method

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