MonoSoftware.MonoX.DAL.EntityClasses.SnGroupEntity.GetRelationInfoSnGroupMembers C# (CSharp) Method

GetRelationInfoSnGroupMembers() public method

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