예제 #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);
 }
예제 #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);
			}