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

GetRelationInfoBlogEditors() public method

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