Example #1
0
        public JMMServerBinary.Contract_AnimeGroup_Save ToContract()
        {
            JMMServerBinary.Contract_AnimeGroup_Save contract = new JMMServerBinary.Contract_AnimeGroup_Save();
            contract.AnimeGroupID       = this.AnimeGroupID;
            contract.AnimeGroupParentID = this.AnimeGroupParentID;

            // editable members
            contract.GroupName   = this.GroupName;
            contract.IsFave      = this.IsFave;
            contract.SortName    = this.SortName;
            contract.Description = this.Description;

            return(contract);
        }
Example #2
0
        public JMMServerBinary.Contract_AnimeGroup_Save ToContract()
        {
            JMMServerBinary.Contract_AnimeGroup_Save contract = new JMMServerBinary.Contract_AnimeGroup_Save();
            contract.AnimeGroupID       = this.AnimeGroupID;
            contract.AnimeGroupParentID = this.AnimeGroupParentID;
            contract.IsManuallyNamed    = this.IsManuallyNamed;
            //contract.DateTimeUpdated = this.DateTimeUpdated;
            //contract.MissingEpisodesCount = this.MissingEpisodesCount;
            //contract.PlayedCount = this.PlayedCount;
            //contract.StoppedCount = this.StoppedCount;
            //contract.UnwatchedEpisodeCount = this.UnwatchedEpisodeCount;
            //contract.WatchedCount = this.WatchedCount;
            //contract.WatchedDate = this.WatchedDate;
            //contract.WatchedEpisodeCount = this.WatchedEpisodeCount;

            // editable members
            contract.GroupName   = this.GroupName;
            contract.IsFave      = this.IsFave;
            contract.SortName    = this.SortName;
            contract.Description = this.Description;

            return(contract);
        }