Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 3 | 0.967 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 500 | src/NHibernate/Impl/SessionImpl.cs |
2 | 5 | 1392 | src/NHibernate/Impl/SessionImpl.cs |
3 | 5 | 2004 | src/NHibernate/Impl/SessionImpl.cs |
| ||||
/// <summary> /// Delete a persistent object /// </summary> /// <param name="obj"></param> public void Delete(object obj) { using (new SessionIdLoggingContext(SessionId)) { FireDelete(new DeleteEvent(obj, this )); } } |
| ||||
#endregion public void Refresh(object obj) { using (new SessionIdLoggingContext(SessionId)) { FireRefresh(new RefreshEvent(obj, this )); } } |
| ||||
/// <summary> /// remove any hard references to the entity that are held by the infrastructure /// (references held by application or other persistant instances are okay) /// </summary> /// <param name="obj"></param> public void Evict(object obj) { using (new SessionIdLoggingContext(SessionId)) { FireEvict(new EvictEvent(obj, this )); } } |
| |||
/// <summary> /// remove any hard references to the entity that are held by the infrastructure /// (references held by application or other persistant instances are okay) /// Delete a persistent object /// </summary> /// <param name="obj"></param> #endregion public void [[#variable4ff218a0]](object obj) { using (new SessionIdLoggingContext(SessionId)) { [[#variable4ff219a0]](new [[#variable4ff21980]](obj, this )); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4ff218a0]] | Evict |
1 | 2 | [[#4ff218a0]] | Refresh |
1 | 3 | [[#4ff218a0]] | Delete |
2 | 1 | [[#4ff219a0]] | FireEvict |
2 | 2 | [[#4ff219a0]] | FireRefresh |
2 | 3 | [[#4ff219a0]] | FireDelete |
3 | 1 | [[#4ff21980]] | EvictEvent |
3 | 2 | [[#4ff21980]] | RefreshEvent |
3 | 3 | [[#4ff21980]] | DeleteEvent |