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

GetRelationInfoSnAlbums() public method

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