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

GetRelationInfoSnFiles() public method

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