Beispiel #1
0
        public static UserPO ToUserPO(this User entity)
        {
            UserPO result = new UserPO();

            result.Username = entity.Username;
            result.Password = entity.Password;
            return(result);
        }
Beispiel #2
0
        public static User ToUser(this UserPO po)
        {
            User result = new User();

            result.Username = po.Username;
            result.Password = po.Password;
            return(result);
        }
Beispiel #3
0
 public static UserPO ToUserPO(this User entity)
 {
     UserPO result = new UserPO();
     result.Username = entity.Username;
     result.Password = entity.Password;
     return result;
 }