MonoSoftware.MonoX.DAL.EntityClasses.OaConsumerEntity.GetRelationInfoOaTokens C# (CSharp) Method

GetRelationInfoOaTokens() public method

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