CloneSet1759


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.953statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
161471
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs
25280
src/NHibernate/Persister/Entity/UnionSubclassEntityPersister.cs
Clone Instance
1
Line Count
6
Source Line
1471
Source File
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs

                        if (Factory.Settings.IsCommentsEnabled)
                        {
                                builder.SetComment("get version " + EntityName);
                        }

                        return builder.AddWhereFragment(rootTableKeyColumnNames, IdentifierType, " = ").ToSqlString();


Clone Instance
2
Line Count
5
Source Line
280
Source File
src/NHibernate/Persister/Entity/UnionSubclassEntityPersister.cs

                        if (Factory.Settings.IsCommentsEnabled)
                        {
                                select.SetComment("load " + EntityName);
                        }
                        return select.AddWhereFragment(IdentifierColumnNames, IdentifierType, "=").ToSqlString();


Clone AbstractionParameter Count: 4Parameter Bindings

if (Factory.Settings.IsCommentsEnabled)
{
    [[#variable270b8a20]].SetComment( [[#variable270b8c20]]+ EntityName);
}
return [[#variable270b8a20]].AddWhereFragment( [[#variable270b8c00]], IdentifierType, [[#variable270b8a60]]).ToSqlString();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#270b8a20]]
select 
12[[#270b8a20]]
builder 
21[[#270b8c20]]
"load " 
22[[#270b8c20]]
"get version " 
31[[#270b8c00]]
IdentifierColumnNames 
32[[#270b8c00]]
rootTableKeyColumnNames 
41[[#270b8a60]]
"=" 
42[[#270b8a60]]
" = "