Пример #1
0
 /// <summary>
 /// 当一个实体最终要出仓库时,才调用此方法完成加载。
 /// </summary>
 /// <param name="entity">The entity.</param>
 internal protected virtual void NotifyLoaded(Entity entity)
 {
     if (entity != null)
     {
         entity.NotifyLoaded(this);
     }
 }
Пример #2
0
        /// <summary>
        /// 当一个实体最终要出仓库时,才调用此方法完成加载。
        /// </summary>
        /// <param name="entity">The entity.</param>
        internal protected void NotifyLoaded(Entity entity)
        {
            if (entity != null)
            {
                entity.NotifyLoaded(this);

                this.NotifyLoadedIfMemory(entity);
            }
        }