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

GetRelationInfoBlogPost() public method

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