main
1using System;
2using System.Collections.Generic;
3
4namespace momoney.database.transactions
5{
6 public interface DatabaseConnection : IDisposable
7 {
8 IEnumerable<T> query<T>();
9 IEnumerable<T> query<T>(Predicate<T> predicate);
10 void delete<T>(T entity);
11 void commit();
12 void store<T>(T entity);
13 }
14}