コード例 #1
0
 public void AddCollegeAppUsers(List <Guid> collegeIds)
 {
     this._collegeAppUsers.Clear();
     foreach (var collegeId in collegeIds)
     {
         var collegeAppUser = new CollegeAppUser();
         collegeAppUser.AppUser   = this;
         collegeAppUser.CollegeId = collegeId;
         this._collegeAppUsers.Add(collegeAppUser);
     }
 }
コード例 #2
0
 public void AddCollegeAppUser(CollegeAppUser collegeAppUser)
 {
     collegeAppUser.College   = this;
     collegeAppUser.CollegeId = this.Id;
     this._collegeAppUsers.Add(collegeAppUser);
 }