Esempio n. 1
0
 public SchoolView(School School)
     : base(School.RID)
 {
     this.College = School.College;
     if ( School.Grade != null )
         this.Grade = new GradeView(School.Grade);
     else
         this.Grade = new GradeView();
 }
Esempio n. 2
0
 public SchoolInput( School model )
 {
     this.College = model.College;
     if ( model.Grade != null )
         this.Grade = model.Grade.RID;
 }