コード例 #1
0
 public User(D.User entity)
 {
     Id        = entity.Id;
     Login     = entity.Login;
     Email     = entity.Email;
     FirstName = entity.FirstName;
     LastName  = entity.LastName;
     Password  = entity.Password;
     Salt      = entity.Salt;
     Role      = entity.Role;
 }
コード例 #2
0
 public void Deconstruct(out int id, out string login, out string email, out string first_name, out string last_name, out string password, out string salt, out D.UserRole role)
 {
     id         = Id;
     login      = Login;
     email      = Email;
     first_name = FirstName;
     last_name  = LastName;
     password   = Password;
     salt       = Salt;
     role       = Role;
 }