MonoSoftware.MonoX.DAL.EntityClasses.NewsCategoryEntity.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("AspnetApplications", _aspnetApplications);
            toReturn.Add("NewsCategoryParent", _newsCategoryParent);
            toReturn.Add("NewsCategoryChildrens", _newsCategoryChildrens);
            toReturn.Add("NewsCategoryInRoles", _newsCategoryInRoles);
            toReturn.Add("NewsCategoryLocalizations", _newsCategoryLocalizations);
            toReturn.Add("NewsItems", _newsItems);
            toReturn.Add("SnRelationshipss", _snRelationshipss);
            toReturn.Add("NewsCategoryTemplate", _newsCategoryTemplate);
            return toReturn;
        }