CloneSet1655


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16220.964class_member_declarations[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11666
src/NHibernate/Persister/Entity/JoinedSubclassEntityPersister.cs
21239
src/NHibernate/Persister/Entity/SingleTableEntityPersister.cs
Clone Instance
1
Line Count
16
Source Line
66
Source File
src/NHibernate/Persister/Entity/JoinedSubclassEntityPersister.cs

                // the index of the table that the property is coming from
                // the array is indexed as propertyTables[propertyIndex] = tableIndex 
                private readonly int[] propertyTableNumbers;

                // the closure of all properties in the entire hierarchy including
                // subclasses and superclasses of this class
                private readonly int[] subclassPropertyTableNumberClosure;

                // the closure of all columns used by the entire hierarchy including
                // subclasses and superclasses of this class
                private readonly int[] subclassColumnTableNumberClosure;

                private readonly int[] subclassFormulaTableNumberClosure;

                // subclass discrimination works by assigning particular
                // values to certain combinations of null primary key
                // values in the outer join using an SQL CASE
                private readonly Dictionary<object, string> subclassesByDiscriminatorValue = new Dictionary<object, string> ();

                private readonly string[] discriminatorValues;



Clone Instance
2
Line Count
12
Source Line
39
Source File
src/NHibernate/Persister/Entity/SingleTableEntityPersister.cs

                // properties of this class, including inherited properties
                private readonly int[] propertyTableNumbers;

                // the closure of all columns used by the entire hierarchy including
                // subclasses and superclasses of this class
                private readonly int[] subclassPropertyTableNumberClosure;

                private readonly int[] subclassColumnTableNumberClosure;

                private readonly int[] subclassFormulaTableNumberClosure;

                // discriminator column
                private readonly Dictionary<object, string> subclassesByDiscriminatorValue = new Dictionary<object, string> ();

                private readonly bool forceDiscriminator;



Clone AbstractionParameter Count: 2Parameter Bindings

// the index of the table that the property is coming from
// the array is indexed as propertyTables[propertyIndex] = tableIndex 
// properties of this class, including inherited properties
private readonly int[] propertyTableNumbers;

// the closure of all properties in the entire hierarchy including
// the closure of all columns used by the entire hierarchy including
// subclasses and superclasses of this class
private readonly int[] subclassPropertyTableNumberClosure;

// the closure of all columns used by the entire hierarchy including
// subclasses and superclasses of this class
private readonly int[] subclassColumnTableNumberClosure;

private readonly int[] subclassFormulaTableNumberClosure;

// subclass discrimination works by assigning particular
// values to certain combinations of null primary key
// values in the outer join using an SQL CASE
// discriminator column
private readonly Dictionary<object, string> subclassesByDiscriminatorValue = new Dictionary<object, string> ();

private readonly [[#variable284f8540]] [[#variable284f84c0]];

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#284f8540]]
string[] 
12[[#284f8540]]
bool 
21[[#284f84c0]]
discriminatorValues 
22[[#284f84c0]]
forceDiscriminator