| 12345678910111213141516171819202122 | 
							- using System;
 
- using Comal.Classes;
 
- namespace Comal.Stores
 
- {
 
-     internal class BillStore : BaseStore<Bill>
 
-     {
 
-         protected override void BeforeSave(Bill entity)
 
-         {
 
-             base.BeforeSave(entity);
 
-             //UpdateAggregate<Supplier>(entity, entity.SupplierLink, Sum<Supplier>(b => b.Balance, s => s.Balance));
 
-         }
 
-         protected override void BeforeDelete(Bill entity)
 
-         {
 
-             base.BeforeDelete(entity);
 
-             entity.SupplierLink.ID = Guid.Empty;
 
-             //UpdateAggregate<Supplier>(entity, entity.SupplierLink, Sum<Supplier>(b => b.Balance, s => s.Balance));
 
-         }
 
-     }
 
- }
 
 
  |