메소드 | 설명 | |
---|---|---|
OnMerge ( MergeEvent @event ) : void | ||
OnMerge ( MergeEvent @event, IDictionary copiedAlready ) : void |
메소드 | 설명 | |
---|---|---|
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
|
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
protected CascadeBeforeSave ( IEventSource source, IEntityPersister persister, object entity, object anything ) : void | ||
source | IEventSource | |
persister | IEntityPersister | |
entity | object | |
anything | object | |
리턴 | 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. |
리턴 | void |
protected CopyValues ( IEntityPersister persister, object entity, object target, ISessionImplementor source, IDictionary copyCache ) : void | ||
persister | IEntityPersister | |
entity | object | |
target | object | |
source | ISessionImplementor | |
copyCache | IDictionary | |
리턴 | 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 | |
리턴 | void |
protected EntityIsDetached ( MergeEvent @event, IDictionary copyCache ) : void | ||
@event | MergeEvent | |
copyCache | IDictionary | |
리턴 | void |
protected EntityIsPersistent ( MergeEvent @event, IDictionary copyCache ) : void | ||
@event | MergeEvent | |
copyCache | IDictionary | |
리턴 | void |
protected EntityIsTransient ( MergeEvent @event, IDictionary copyCache ) : void | ||
@event | MergeEvent | |
copyCache | IDictionary | |
리턴 | void |
protected GetMergeMap ( object anything ) : IDictionary | ||
anything | object | |
리턴 | IDictionary |
protected GetTransientCopyCache ( MergeEvent @event, NHibernate.Event.Default.EventCache copyCache ) : NHibernate.Event.Default.EventCache | ||
@event | MergeEvent | |
copyCache | NHibernate.Event.Default.EventCache | |
리턴 | NHibernate.Event.Default.EventCache |
protected InvokeUpdateLifecycle ( object entity, IEntityPersister persister, IEventSource source ) : bool | ||
entity | object | |
persister | IEntityPersister | |
source | IEventSource | |
리턴 | bool |
public OnMerge ( MergeEvent @event, IDictionary copiedAlready ) : void | ||
@event | MergeEvent | |
copiedAlready | IDictionary | |
리턴 | void |
protected RetryMergeTransientEntities ( MergeEvent @event, IDictionary transientCopyCache, NHibernate.Event.Default.EventCache copyCache ) : void | ||
@event | MergeEvent | |
transientCopyCache | IDictionary | |
copyCache | NHibernate.Event.Default.EventCache | |
리턴 | void |