partial void DeleteTransaction(Transaction instance);
 partial void InsertTransaction(Transaction instance);
 partial void UpdateTransaction(Transaction instance);
 public ITransaction NewTransaction()
 {
     Transaction transaction = new Transaction();
     transaction.Added = DateTime.Now;
     transaction.Modified = transaction.Added;
     db.Transactions.InsertOnSubmit( transaction );
     return transaction;
 }