MonoSoftware.MonoX.DAL.EntityClasses.SnDiscussionMessageEntity.GetRelationInfoAdminAttentionReportedByUser C# (CSharp) Method

GetRelationInfoAdminAttentionReportedByUser() public method

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'AspnetUsers' to this entity.
public GetRelationInfoAdminAttentionReportedByUser ( ) : IRelationPredicateBucket
return IRelationPredicateBucket
        public virtual IRelationPredicateBucket GetRelationInfoAdminAttentionReportedByUser()
        {
            IRelationPredicateBucket bucket = new RelationPredicateBucket();
            bucket.PredicateExpression.Add(new FieldCompareValuePredicate(AspnetUsersFields.UserId, null, ComparisonOperator.Equal, this.AdminAttentionReportedByUserId));
            return bucket;
        }