Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 public AccountModel()
 {
     aAccount    = new AccountPO();
     accountList = new List <AccountPO>();
 }