MonoSoftware.MonoX.DAL.EntityClasses.PrivacyLevelEntity.GetRelationInfoUserProfile C# (CSharp) Method

GetRelationInfoUserProfile() public method

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