MonoSoftware.MonoX.DAL.EntityClasses.SnRelationshipEntity.GetRelationInfoSnMessage C# (CSharp) Method

GetRelationInfoSnMessage() public method

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