CloneSet1303


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5330.967class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15500
src/NHibernate/Impl/SessionImpl.cs
251392
src/NHibernate/Impl/SessionImpl.cs
352004
src/NHibernate/Impl/SessionImpl.cs
Clone Instance
1
Line Count
5
Source Line
500
Source File
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 ));
                        }
                }



Clone Instance
2
Line Count
5
Source Line
1392
Source File
src/NHibernate/Impl/SessionImpl.cs

                #endregion
                public void Refresh(object obj)
                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                FireRefresh(new RefreshEvent(obj, this ));
                        }
                }



Clone Instance
3
Line Count
5
Source Line
2004
Source File
src/NHibernate/Impl/SessionImpl.cs

                /// <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 ));
                        }
                }



Clone AbstractionParameter Count: 3Parameter Bindings

/// <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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4ff218a0]]
Evict 
12[[#4ff218a0]]
Refresh 
13[[#4ff218a0]]
Delete 
21[[#4ff219a0]]
FireEvict 
22[[#4ff219a0]]
FireRefresh 
23[[#4ff219a0]]
FireDelete 
31[[#4ff21980]]
EvictEvent 
32[[#4ff21980]]
RefreshEvent 
33[[#4ff21980]]
DeleteEvent