示例#1
0
 public AssignSubject(assignsubject assignsubject)
 {
     this.Id        = assignsubject.Id;
     this.ClassId   = assignsubject.ClassId;
     this.SubjectId = assignsubject.SubjectId;
     this.SectionId = assignsubject.SectionId;
     this.TeacherId = assignsubject.TeacherId;
     this.IsActive  = assignsubject.IsActive;
 }
示例#2
0
        public assignsubject GetDataObject()
        {
            var dataObject = new assignsubject()
            {
                Id        = this.Id,
                ClassId   = this.ClassId,
                SubjectId = this.SubjectId,
                SectionId = this.SectionId,
                TeacherId = this.TeacherId,
                IsActive  = this.IsActive
            };

            return(dataObject);
        }