Ejemplo n.º 1
0
        public void Update(int BankAccountKey,int? UserKey,int CurrencyKey,int? CountryKey,int? OrganizationKey,string BankAccountDescription,int UserKeyUpdated,string IpAddress,string AccountNumber,string Iban,string Bic,string ABArouting,string FirstName,string LastName,string BusinessName,DateTime LastChanged,DateTime? DateCreated,string SortCode,string Bsb,string Email,string BankName,string BranchCode,string InstitutionNumber)
        {
            BankAccount item = new BankAccount();
            item.MarkOld();
            item.IsLoaded = true;

            item.BankAccountKey = BankAccountKey;

            item.UserKey = UserKey;

            item.CurrencyKey = CurrencyKey;

            item.CountryKey = CountryKey;

            item.OrganizationKey = OrganizationKey;

            item.BankAccountDescription = BankAccountDescription;

            item.UserKeyUpdated = UserKeyUpdated;

            item.IpAddress = IpAddress;

            item.AccountNumber = AccountNumber;

            item.Iban = Iban;

            item.Bic = Bic;

            item.ABArouting = ABArouting;

            item.FirstName = FirstName;

            item.LastName = LastName;

            item.BusinessName = BusinessName;

            item.LastChanged = LastChanged;

            item.DateCreated = DateCreated;

            item.SortCode = SortCode;

            item.Bsb = Bsb;

            item.Email = Email;

            item.BankName = BankName;

            item.BranchCode = BranchCode;

            item.InstitutionNumber = InstitutionNumber;

            item.Save(UserName);
        }