Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 4 | 4 | 0.962 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 933 | src/NHibernate/Impl/SessionImpl.cs |
2 | 5 | 942 | src/NHibernate/Impl/SessionImpl.cs |
3 | 5 | 951 | src/NHibernate/Impl/SessionImpl.cs |
4 | 5 | 969 | src/NHibernate/Impl/SessionImpl.cs |
| ||||
/// <summary> Cascade merge an entity instance</summary> public void Merge(string entityName, object obj, IDictionary copiedAlready) { using (new SessionIdLoggingContext(SessionId)) { FireMerge(copiedAlready, new MergeEvent(entityName, obj, this )); } } |
| ||||
/// <summary> Cascade persist an entity instance</summary> public void Persist(string entityName, object obj, IDictionary createdAlready) { using (new SessionIdLoggingContext(SessionId)) { FirePersist(createdAlready, new PersistEvent(entityName, obj, this )); } } |
| ||||
/// <summary> Cascade persist an entity instance during the flush process</summary> public void PersistOnFlush(string entityName, object obj, IDictionary copiedAlready) { using (new SessionIdLoggingContext(SessionId)) { FirePersistOnFlush(copiedAlready, new PersistEvent(entityName, obj, this )); } } |
| ||||
/// <summary> Cascade copy an entity instance</summary> public void SaveOrUpdateCopy(string entityName, object obj, IDictionary copiedAlready) { using (new SessionIdLoggingContext(SessionId)) { FireSaveOrUpdateCopy(copiedAlready, new MergeEvent(entityName, obj, this )); } } |
| |||
/// <summary> Cascade copy an entity instance</summary> /// <summary> Cascade persist an entity instance during the flush process</summary> /// <summary> Cascade persist an entity instance</summary> /// <summary> Cascade merge an entity instance</summary> public void [[#variable70a84f80]](string entityName, object obj, IDictionary [[#variable70a84fc0]]) { using (new SessionIdLoggingContext(SessionId)) { [[#variable6e723aa0]]( [[#variable70a84fc0]], new [[#variable6eda70e0]](entityName, obj, this )); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#70a84f80]] | SaveOrUpdateCopy |
1 | 2 | [[#70a84f80]] | PersistOnFlush |
1 | 3 | [[#70a84f80]] | Persist |
1 | 4 | [[#70a84f80]] | Merge |
2 | 1 | [[#70a84fc0]] | copiedAlready |
2 | 2 | [[#70a84fc0]] | copiedAlready |
2 | 3 | [[#70a84fc0]] | createdAlready |
2 | 4 | [[#70a84fc0]] | copiedAlready |
3 | 1 | [[#6e723aa0]] | FireSaveOrUpdateCopy |
3 | 2 | [[#6e723aa0]] | FirePersistOnFlush |
3 | 3 | [[#6e723aa0]] | FirePersist |
3 | 4 | [[#6e723aa0]] | FireMerge |
4 | 1 | [[#6eda70e0]] | MergeEvent |
4 | 2 | [[#6eda70e0]] | PersistEvent |
4 | 3 | [[#6eda70e0]] | PersistEvent |
4 | 4 | [[#6eda70e0]] | MergeEvent |