Castle.ActiveRecord.HookDispatcher.PreFlush C# (CSharp) Метод

PreFlush() публичный Метод

Called before a flush
public PreFlush ( ICollection entities ) : void
entities ICollection The entities
Результат void
        public override void PreFlush(ICollection entities)
        {
            foreach(object entity in entities)
            {
                ActiveRecordHooksBase hookTarget = entity as ActiveRecordHooksBase;

                if (hookTarget != null)
                {
                    hookTarget.PreFlush();
                }
            }
        }