MonoSoftware.MonoX.DAL.EntityClasses.PollEntity.GetRelationInfoPollLocalizations C# (CSharp) Method

GetRelationInfoPollLocalizations() public method

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