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

GetRelationInfoSnGroup() public method

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