Method | Description | |
---|---|---|
OnMerge ( MergeEvent @event ) : void | ||
OnMerge ( MergeEvent @event, IDictionary copiedAlready ) : void |
Method | Description | |
---|---|---|
CascadeAfterSave ( IEventSource source, IEntityPersister persister, object entity, object anything ) : void |
Cascade behavior is redefined by this subclass, disable superclass behavior
|
|
CascadeBeforeSave ( IEventSource source, IEntityPersister persister, object entity, object anything ) : void |
Cascade behavior is redefined by this subclass, disable superclass behavior
|
|
CascadeOnMerge ( IEventSource source, IEntityPersister persister, object entity, IDictionary copyCache ) : void |
Perform any cascades needed as part of this copy event.
|
|
CopyValues ( IEntityPersister persister, object entity, object target, ISessionImplementor source, IDictionary copyCache ) : void | ||
CopyValues ( IEntityPersister persister, object entity, object target, ISessionImplementor source, IDictionary copyCache, NHibernate.Type.ForeignKeyDirection foreignKeyDirection ) : void | ||
EntityIsDetached ( MergeEvent @event, IDictionary copyCache ) : void | ||
EntityIsPersistent ( MergeEvent @event, IDictionary copyCache ) : void | ||
EntityIsTransient ( MergeEvent @event, IDictionary copyCache ) : void | ||
GetMergeMap ( object anything ) : IDictionary | ||
GetTransientCopyCache ( MergeEvent @event, NHibernate.Event.Default.EventCache copyCache ) : NHibernate.Event.Default.EventCache |
Determine which merged entities in the copyCache are transient. Should this method be on the EventCache class? |
|
InvokeUpdateLifecycle ( object entity, IEntityPersister persister, IEventSource source ) : bool | ||
RetryMergeTransientEntities ( MergeEvent @event, IDictionary transientCopyCache, NHibernate.Event.Default.EventCache copyCache ) : void |
Retry merging transient entities
|
Method | Description | |
---|---|---|
ExistsInDatabase ( object entity, IEventSource source, IEntityPersister persister ) : bool | ||
IsVersionChanged ( object entity, IEventSource source, IEntityPersister persister, object target ) : bool | ||
MarkInterceptorDirty ( object entity, object target ) : void | ||
MergeTransientEntity ( object entity, string entityName, object requestedId, IEventSource source, IDictionary copyCache ) : object | ||
SaveTransientEntity ( object entity, string entityName, object requestedId, IEventSource source, IDictionary copyCache ) : void |
protected CascadeAfterSave ( IEventSource source, IEntityPersister persister, object entity, object anything ) : void | ||
source | IEventSource | |
persister | IEntityPersister | |
entity | object | |
anything | object | |
return | void |
protected CascadeBeforeSave ( IEventSource source, IEntityPersister persister, object entity, object anything ) : void | ||
source | IEventSource | |
persister | IEntityPersister | |
entity | object | |
anything | object | |
return | void |
protected CascadeOnMerge ( IEventSource source, IEntityPersister persister, object entity, IDictionary copyCache ) : void | ||
source | IEventSource | The merge event being processed. |
persister | IEntityPersister | The persister of the entity being copied. |
entity | object | The entity being copied. |
copyCache | IDictionary | A cache of already copied instance. |
return | void |
protected CopyValues ( IEntityPersister persister, object entity, object target, ISessionImplementor source, IDictionary copyCache ) : void | ||
persister | IEntityPersister | |
entity | object | |
target | object | |
source | ISessionImplementor | |
copyCache | IDictionary | |
return | void |
protected CopyValues ( IEntityPersister persister, object entity, object target, ISessionImplementor source, IDictionary copyCache, NHibernate.Type.ForeignKeyDirection foreignKeyDirection ) : void | ||
persister | IEntityPersister | |
entity | object | |
target | object | |
source | ISessionImplementor | |
copyCache | IDictionary | |
foreignKeyDirection | NHibernate.Type.ForeignKeyDirection | |
return | void |
protected EntityIsDetached ( MergeEvent @event, IDictionary copyCache ) : void | ||
@event | MergeEvent | |
copyCache | IDictionary | |
return | void |
protected EntityIsPersistent ( MergeEvent @event, IDictionary copyCache ) : void | ||
@event | MergeEvent | |
copyCache | IDictionary | |
return | void |
protected EntityIsTransient ( MergeEvent @event, IDictionary copyCache ) : void | ||
@event | MergeEvent | |
copyCache | IDictionary | |
return | void |
protected GetMergeMap ( object anything ) : IDictionary | ||
anything | object | |
return | IDictionary |
protected GetTransientCopyCache ( MergeEvent @event, NHibernate.Event.Default.EventCache copyCache ) : NHibernate.Event.Default.EventCache | ||
@event | MergeEvent | |
copyCache | NHibernate.Event.Default.EventCache | |
return | NHibernate.Event.Default.EventCache |
protected InvokeUpdateLifecycle ( object entity, IEntityPersister persister, IEventSource source ) : bool | ||
entity | object | |
persister | IEntityPersister | |
source | IEventSource | |
return | bool |
public OnMerge ( MergeEvent @event, IDictionary copiedAlready ) : void | ||
@event | MergeEvent | |
copiedAlready | IDictionary | |
return | void |
protected RetryMergeTransientEntities ( MergeEvent @event, IDictionary transientCopyCache, NHibernate.Event.Default.EventCache copyCache ) : void | ||
@event | MergeEvent | |
transientCopyCache | IDictionary | |
copyCache | NHibernate.Event.Default.EventCache | |
return | void |