MonoSoftware.MonoX.DAL.EntityClasses.SnRelationshipEntity.GetRelationInfoSnTags C# (CSharp) Method

GetRelationInfoSnTags() public method

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