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

GetRelatedData() protected method

Gets all related data objects, stored by name. The name is the field name mapped onto the relation for that particular data element.
protected GetRelatedData ( ) : object>.Dictionary
return object>.Dictionary
        protected override Dictionary<string, object> GetRelatedData()
        {
            Dictionary<string, object> toReturn = new Dictionary<string, object>();
            toReturn.Add("AspnetUser", _aspnetUser);
            toReturn.Add("NewsCategory", _newsCategory);
            toReturn.Add("NewsFiles", _newsFiles);
            toReturn.Add("NewsItemLocalizations", _newsItemLocalizations);
            toReturn.Add("NewsPublishQueues", _newsPublishQueues);
            toReturn.Add("SnRelationships", _snRelationships);
            return toReturn;
        }