Exemple #1
0
        public void Insert(string BankName,int? UserKeyUpdated,DateTime? LastChanged,string BankDescription)
        {
            InfoBank item = new InfoBank();

            item.BankName = BankName;

            item.UserKeyUpdated = UserKeyUpdated;

            item.LastChanged = LastChanged;

            item.BankDescription = BankDescription;

            item.Save(UserName);
        }
Exemple #2
0
        public void Update(int InfoBankKey,string BankName,int? UserKeyUpdated,DateTime? LastChanged,string BankDescription)
        {
            InfoBank item = new InfoBank();
            item.MarkOld();
            item.IsLoaded = true;

            item.InfoBankKey = InfoBankKey;

            item.BankName = BankName;

            item.UserKeyUpdated = UserKeyUpdated;

            item.LastChanged = LastChanged;

            item.BankDescription = BankDescription;

            item.Save(UserName);
        }