private void PreRecreate()
		{
			IPreCollectionRecreateEventListener[] preListeners = Session.Listeners.PreCollectionRecreateEventListeners;
			if (preListeners.Length > 0)
			{
				PreCollectionRecreateEvent preEvent = new PreCollectionRecreateEvent(Persister, Collection, (IEventSource)Session);
				for (int i = 0; i < preListeners.Length; i++)
				{
					preListeners[i].OnPreRecreateCollection(preEvent);
				}
			}
		}
 /// <summary>
 /// 
 /// </summary>
 /// <param name="evt"></param>
 public void OnPreRecreateCollection(PreCollectionRecreateEvent evt)
 {
 }
Ejemplo n.º 3
0
 public void OnPreRecreateCollection(PreCollectionRecreateEvent @event)
 {
     Debug.WriteLine("EventListener.OnPreRecreateCollection: {0} {1}", @event.AffectedOwnerIdOrNull, @event.Collection.Role);
 }
			public void OnPreRecreateCollection(PreCollectionRecreateEvent @event)
			{
				AddEvent(@event, this);
			}
Ejemplo n.º 5
0
 public void OnPreRecreateCollection(PreCollectionRecreateEvent @event)
 {
     log.Debug("OnPreRecreateCollection :" + @event);
 }