private static AccountTableEntityType CreateAccount(string number, string ownerId, string name, string id)
        {
            AccountTableEntityType account = new AccountTableEntityType();

            account.id      = id;
            account.name    = name;
            account.number  = number;
            account.ownerId = ownerId;

            return(account);
        }
Esempio n. 2
0
        protected override GlobalBank.Commercial.EBanking.Modules.EFT.ServiceProxies.AccountService.AccountTableEntityType BusinessToService(IEntityTranslatorService service, Account value)
        {
            AccountTableEntityType to = new AccountTableEntityType();

            to.id      = value.Id.ToString();
            to.ownerId = value.CustomerId;
            to.name    = value.Name;
            to.number  = value.Number;

            return(to);
        }