Browse Source

Added CommitChanges / CancelChanges to IEntity interface

frogsoftware 1 year ago
parent
commit
10bdb25675
1 changed files with 4 additions and 0 deletions
  1. 4 0
      InABox.Core/Entity.cs

+ 4 - 0
InABox.Core/Entity.cs

@@ -24,6 +24,10 @@ namespace InABox.Core
         Guid Deleted { get; set; }
 
         bool IsChanged();
+
+        void CommitChanges();
+        void CancelChanges();
+
     }
 
     public interface ITaxable