public void Insert(int CurrencyKey,int BankKey,string BankAccount,DateTime LastChanged,string BankAccountDescription,int UserKeyUpdated)
        {
            SystemBankAccount item = new SystemBankAccount();

            item.CurrencyKey = CurrencyKey;

            item.BankKey = BankKey;

            item.BankAccount = BankAccount;

            item.LastChanged = LastChanged;

            item.BankAccountDescription = BankAccountDescription;

            item.UserKeyUpdated = UserKeyUpdated;

            item.Save(UserName);
        }
        public void Update(int SystemBankAccountsKey,int CurrencyKey,int BankKey,string BankAccount,DateTime LastChanged,string BankAccountDescription,int UserKeyUpdated)
        {
            SystemBankAccount item = new SystemBankAccount();
            item.MarkOld();
            item.IsLoaded = true;

            item.SystemBankAccountsKey = SystemBankAccountsKey;

            item.CurrencyKey = CurrencyKey;

            item.BankKey = BankKey;

            item.BankAccount = BankAccount;

            item.LastChanged = LastChanged;

            item.BankAccountDescription = BankAccountDescription;

            item.UserKeyUpdated = UserKeyUpdated;

            item.Save(UserName);
        }