CloneSet2689


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.985non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1648
src/NHibernate/Action/EntityDeleteAction.cs
2661
src/NHibernate/Action/EntityUpdateAction.cs
Clone Instance
1
Line Count
6
Source Line
48
Source File
src/NHibernate/Action/EntityDeleteAction.cs

                        if (persister.IsVersionPropertyGenerated)
                        {
                                // we need to grab the version value from the entity, otherwise
                                // we have issues with generated-version entities that may have
                                // multiple actions queued during the same flush
                                tmpVersion = persister.GetVersion(instance, session.EntityMode);
                        }


Clone Instance
2
Line Count
6
Source Line
61
Source File
src/NHibernate/Action/EntityUpdateAction.cs

                        if (persister.IsVersionPropertyGenerated)
                        {
                                // we need to grab the version value from the entity, otherwise
                                // we have issues with generated-version entities that may have
                                // multiple actions queued during the same flush
                                previousVersion = persister.GetVersion(instance, session.EntityMode);
                        }


Clone AbstractionParameter Count: 1Parameter Bindings

if (persister.IsVersionPropertyGenerated)
{
    [[#variable6ff11c00]]= persister.GetVersion(instance, session.EntityMode);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6ff11c00]]
// we need to grab the version value from the entity, otherwise
// we have issues with generated-version entities that may have
// multiple actions queued during the same flush
previousVersion 
12[[#6ff11c00]]
// we need to grab the version value from the entity, otherwise
// we have issues with generated-version entities that may have
// multiple actions queued during the same flush
tmpVersion