MonoSoftware.MonoX.DAL.EntityClasses.NewsCategoryEntity.GetRelationInfoNewsCategoryTemplate C# (CSharp) Method

GetRelationInfoNewsCategoryTemplate() public method

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