コード例 #1
0
 public UserVM(User row)
 {
     UserId         = row.UserId;
     RoleId         = row.RoleId;
     FirstName      = row.FirstName;
     LastName       = row.LastName;
     Email          = row.Email;
     Description    = row.Description;
     Password       = row.Password;
     Active         = row.Active;
     LinkedIn       = row.LinkedIn;
     StackOverflow  = row.StackOverflow;
     DateOfBirth    = row.DateOfBirth;
     EducationLevel = row.EducationLevel;
     Title          = row.Title;
     AverageGrade   = row.AverageGrade;
     IsCompleted    = row.IsCompleted;
     Salary         = HelpClass.ReturnSalary(UserId);
     Jobs           = HelpClass.ReturnJobs(UserId);
     Blocked        = row.Blocked;
     IsRegistered   = row.IsRegistered;
     MadeUp         = row.MadeUp;
 }