PostFlush() защищенный Метод

Called after a flush that actually ends in execution of the SQL statements required to synchronize in-memory state with the database.
protected PostFlush ( ) : void
Результат void
Пример #1
0
        /// <summary>
        /// Called after a flush that actually ends in execution of the SQL statements required to
        /// synchronize in-memory state with the database.
        /// </summary>
        /// <param name="entities">The entitites</param>
        public override void PostFlush(ICollection entities)
        {
            foreach (object entity in entities)
            {
                ActiveRecordHooksBase hookTarget = entity as ActiveRecordHooksBase;

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