MonoSoftware.MonoX.DAL.EntityClasses.PrivacyLevelEntity.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("PrivacyLevelDefinitions", _privacyLevelDefinitions);
            toReturn.Add("SnAlbums", _snAlbums);
            toReturn.Add("SnFiles", _snFiles);
            toReturn.Add("SnNotes", _snNotes);
            toReturn.Add("UserProfile", _userProfile);
            return toReturn;
        }