MonoSoftware.MonoX.DAL.EntityClasses.SnNoteEntity.GetRelationInfoPrivacyLevel C# (CSharp) Method

GetRelationInfoPrivacyLevel() public method

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