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

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

Called after a flush that actually ends in execution of the SQL statements required to synchronize in-memory state with the database.
public PostFlush ( ICollection entities ) : void
entities ICollection The entitites
Результат void
        public override void PostFlush(ICollection entities)
        {
            foreach(object entity in entities)
            {
                ActiveRecordHooksBase hookTarget = entity as ActiveRecordHooksBase;

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