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

GetRelationInfoNewsCategoryLocalizations() public method

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