MonoSoftware.MonoX.DAL.EntityClasses.SnNoteEntity.GetRelationInfoAspnetUserAuthor C# (CSharp) Method

GetRelationInfoAspnetUserAuthor() 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 GetRelationInfoAspnetUserAuthor ( ) : IRelationPredicateBucket
return IRelationPredicateBucket
        public virtual IRelationPredicateBucket GetRelationInfoAspnetUserAuthor()
        {
            IRelationPredicateBucket bucket = new RelationPredicateBucket();
            bucket.PredicateExpression.Add(new FieldCompareValuePredicate(AspnetUsersFields.UserId, null, ComparisonOperator.Equal, this.UserId));
            return bucket;
        }