/// <summary>
/// Called before a flush
/// </summary>
/// <param name="entities">The entities</param>
public override void PreFlush(ICollection entities)
{
foreach (object entity in entities)
{
ActiveRecordHooksBase hookTarget = entity as ActiveRecordHooksBase;
if (hookTarget != null)
{
hookTarget.PreFlush();
}
}
}