CloneSet833


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12220.982statement_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11212
src/NHibernate.Test/NHSpecificTest/NH1069/ImproveLazyExceptionFixture.cs
21244
src/NHibernate.Test/NHSpecificTest/NH1069/ImproveLazyExceptionFixture.cs
Clone Instance
1
Line Count
12
Source Line
12
Source File
src/NHibernate.Test/NHSpecificTest/NH1069/ImproveLazyExceptionFixture.cs

                        object savedId = 1;
                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.Save(new LazyE(), 1);
                                t.Commit();
                        }

                        LazyE le;
                        using (ISession s = OpenSession())
                        {
                                le = s.Load < LazyE > (savedId);
                        }


Clone Instance
2
Line Count
12
Source Line
44
Source File
src/NHibernate.Test/NHSpecificTest/NH1069/ImproveLazyExceptionFixture.cs

                        object savedId = 1;
                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.Save(new LazyE(), savedId);
                                t.Commit();
                        }

                        LazyE le;
                        using (ISession s = OpenSession())
                        {
                                le = s.Get < LazyE > (savedId);
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

object savedId = 1;
using (ISession s = OpenSession())
   using (ITransaction t = s.BeginTransaction())
   {
      s.Save(new LazyE(), [[#variable4ff81940]]);
      t.Commit();
   }
LazyE le;
using (ISession s = OpenSession())
{
   le = s. [[#variable4ff81800]]< LazyE > (savedId);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4ff81940]]
savedId 
12[[#4ff81940]]
1 
21[[#4ff81800]]
Get 
22[[#4ff81800]]
Load