瀏覽代碼

Added CommitChanges / CancelChanges to IEntity interface

frogsoftware 1 年之前
父節點
當前提交
10bdb25675
共有 1 個文件被更改,包括 4 次插入0 次删除
  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