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

GetRelationInfoSnFile() public method

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