MonoSoftware.MonoX.DAL.EntityClasses.NewsCategoryTemplateEntity.GetRelationInfoNewsCategory C# (CSharp) 메소드

GetRelationInfoNewsCategory() 공개 메소드

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