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

GetRelationInfoPoll() public method

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