public bool AddHistoryTransaction(HistoryTransaction historyTransaction)
 {
     try
     {
         data.HistoryTransactions.InsertOnSubmit(historyTransaction);
         data.SubmitChanges();
         return(true);
     }
     catch
     {
         return(false);
     }
 }
Exemple #2
0
 partial void DeleteHistoryTransaction(HistoryTransaction instance);
Exemple #3
0
 partial void UpdateHistoryTransaction(HistoryTransaction instance);
Exemple #4
0
 partial void InsertHistoryTransaction(HistoryTransaction instance);