public static void WriteEntityUpdate <TEntity>(this ITransactionLog log, EntityPropertyCloner <TEntity> propertyCloner, TEntity storedEntity, TEntity oldEntity)
     where TEntity : class
 {
     log.Write(new UpdateEntityLogItem <TEntity>(propertyCloner, storedEntity, oldEntity));
 }
 public static void WriteIndexDelete <TEntity>(this ITransactionLog log, IIndex <TEntity> index, TEntity entity)
     where TEntity : class
 {
     log.Write(new IndexDeleteTransactionLogItem <TEntity>(index, entity));
 }