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

GetRelationInfoSnRatings() public method

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