MonoSoftware.MonoX.DAL.EntityClasses.PageEntity.GetRelationInfoPageRoles C# (CSharp) Method

GetRelationInfoPageRoles() public method

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