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); }
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); }