CloneSet2264


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.976class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16573
src/NHibernate/Impl/StatelessSessionImpl.cs
26611
src/NHibernate/Impl/StatelessSessionImpl.cs
Clone Instance
1
Line Count
6
Source Line
573
Source File
src/NHibernate/Impl/StatelessSessionImpl.cs

                /// <summary> Update a entity.</summary>
                /// <param name="entity">a detached entity instance </param>
                public void Update(object entity)
                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                CheckAndUpdateSessionStatus();
                                Update(null, entity);
                        }
                }



Clone Instance
2
Line Count
6
Source Line
611
Source File
src/NHibernate/Impl/StatelessSessionImpl.cs

                /// <summary> Delete a entity. </summary>
                /// <param name="entity">a detached entity instance </param>
                public void Delete(object entity)
                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                CheckAndUpdateSessionStatus();
                                Delete(null, entity);
                        }
                }



Clone AbstractionParameter Count: 1Parameter Bindings

/// <summary> Delete a entity. </summary>
/// <summary> Update a entity.</summary>
/// <param name="entity">a detached entity instance </param>
public void [[#variable6f48a3c0]](object entity)
{
   using (new SessionIdLoggingContext(SessionId))
   {
      CheckAndUpdateSessionStatus();
       [[#variable6f48a3c0]](null, entity);
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6f48a3c0]]
Delete 
12[[#6f48a3c0]]
Update