MonoSoftware.MonoX.DAL.EntityClasses.NewsItemEntity.GetRelationInfoNewsItemLocalizations C# (CSharp) Method

GetRelationInfoNewsItemLocalizations() public method

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