main
 1using System;
 2using gorilla.commons.utility;
 3
 4namespace momoney.database.transactions
 5{
 6    public interface IChangeTracker : IDisposable
 7    {
 8        bool is_dirty();
 9        void commit_to(IDatabase database);
10    }
11
12    public interface IChangeTracker<T> : IChangeTracker where T : Identifiable<Guid>
13    {
14        void register(T value);
15        void delete(T entity);
16    }
17}