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

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

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