MonoSoftware.MonoX.DAL.EntityClasses.PrivacyLevelEntity.GetRelationInfoUserProfile C# (CSharp) Méthode

GetRelationInfoUserProfile() public méthode

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
Résultat IRelationPredicateBucket
        public virtual IRelationPredicateBucket GetRelationInfoUserProfile()
        {
            IRelationPredicateBucket bucket = new RelationPredicateBucket();
            bucket.PredicateExpression.Add(new FieldCompareValuePredicate(UserProfileFields.MyStatusPrivacyLevelId, null, ComparisonOperator.Equal, this.Id));
            return bucket;
        }