diff options
| author | mo khan <mo@mokhan.ca> | 2009-10-23 13:09:04 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2009-10-23 13:09:04 -0600 |
| commit | 9a3430b2a1f0445c0dbac703907762e225383421 (patch) | |
| tree | 751d5742a199eae57ebb6d767e650bd6c803bdc3 /product/database/transactions/DatabaseConnection.cs | |
| parent | f76fe6ca01f3dc5fabc8bf16f299420ba9d7ef05 (diff) | |
renamed some components to something that is more descriptive.main
Diffstat (limited to 'product/database/transactions/DatabaseConnection.cs')
| -rw-r--r-- | product/database/transactions/DatabaseConnection.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/product/database/transactions/DatabaseConnection.cs b/product/database/transactions/DatabaseConnection.cs new file mode 100644 index 0000000..19bd725 --- /dev/null +++ b/product/database/transactions/DatabaseConnection.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; + +namespace momoney.database.transactions +{ + public interface DatabaseConnection : IDisposable + { + IEnumerable<T> query<T>(); + IEnumerable<T> query<T>(Predicate<T> predicate); + void delete<T>(T entity); + void commit(); + void store<T>(T entity); + } +}
\ No newline at end of file |
