summaryrefslogtreecommitdiff
path: root/product/database/transactions/DatabaseCommandRegistry.cs
diff options
context:
space:
mode:
Diffstat (limited to 'product/database/transactions/DatabaseCommandRegistry.cs')
-rw-r--r--product/database/transactions/DatabaseCommandRegistry.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/product/database/transactions/DatabaseCommandRegistry.cs b/product/database/transactions/DatabaseCommandRegistry.cs
new file mode 100644
index 0000000..16f01c8
--- /dev/null
+++ b/product/database/transactions/DatabaseCommandRegistry.cs
@@ -0,0 +1,11 @@
+using System;
+using gorilla.commons.utility;
+
+namespace momoney.database.transactions
+{
+ public interface DatabaseCommandRegistry
+ {
+ DatabaseCommand prepare_for_deletion<T>(T entity) where T : Identifiable<Guid>;
+ DatabaseCommand prepare_for_flushing<T>(T entity) where T : Identifiable<Guid>;
+ }
+} \ No newline at end of file