示例#1
0
        public static AccountDO MapAccountPOtoDO(AccountPO from)
        {
            AccountDO to = new AccountDO();

            to.RoleId    = from.RoleID;
            to.AccountID = from.AccountID;
            to.UserName  = from.UserName;
            to.PassWord  = from.PassWord;
            to.FirstName = from.FirstName;
            to.LastName  = from.LastName;
            to.Email     = from.Email;

            return(to);
        }
 public AccountModel()
 {
     aAccount    = new AccountPO();
     accountList = new List <AccountPO>();
 }