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

GetRelationInfoSnRelationshipss() public method

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