MonoSoftware.MonoX.DAL.EntityClasses.SnNoteEntity.GetRelationInfoSnEvents C# (CSharp) Method

GetRelationInfoSnEvents() public method

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