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

GetRelationInfoAspnetUser() public method

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