MonoSoftware.MonoX.DAL.EntityClasses.BlogEntity.GetRelationInfoBlogCategory C# (CSharp) Method

GetRelationInfoBlogCategory() public method

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