Exemplo n.º 1
0
 public override void Cascade(IEventSource session, object child, string entityName, object anything, bool isCascadeDeleteEnabled)
 {
     if (log.IsDebugEnabled())
     {
         log.Debug("cascading to evict: {0}", entityName);
     }
     session.Evict(child);
 }
Exemplo n.º 2
0
			public override void Cascade(IEventSource session, object child, string entityName, object anything, bool isCascadeDeleteEnabled)
			{
				if (log.IsDebugEnabled)
				{
					log.Debug("cascading to evict: " + entityName);
				}
				session.Evict(child);
			}