Beispiel #1
0
        public override bool IsSameRow(BufferColumnDto dto)
        {
            IScoreRateForChapterDto that = dto as IScoreRateForChapterDto;

            if (that == null)
            {
                return(false);
            }
            return(this.ChapterCode.Equals(that.ChapterCode));
        }
Beispiel #2
0
        public override DynamicData CopyKeyMembers(DynamicData data)
        {
            IScoreRateForChapterDto that = data as IScoreRateForChapterDto;

            if (that == null)
            {
                return(null);
            }
            that.ChapterCode = this.ChapterCode;
            return(data);
        }