CloneSet615


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12201.000non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112194
src/NHibernate.Test/NHSpecificTest/NH1632/Fixture.cs
212227
src/NHibernate.Test/NHSpecificTest/NH1632/Fixture.cs
Clone Instance
1
Line Count
12
Source Line
194
Source File
src/NHibernate.Test/NHSpecificTest/NH1632/Fixture.cs

                        using (ISession s = sessions.OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                Nums nums = s.Get < Nums > (id1);
                                Assert.IsNotNull(nums);
                                s.Delete(nums);

                                nums = s.Get < Nums > (id2);
                                Assert.IsNotNull(nums);
                                s.Delete(nums);

                                tx.Commit();
                        }


Clone Instance
2
Line Count
12
Source Line
227
Source File
src/NHibernate.Test/NHSpecificTest/NH1632/Fixture.cs

                        using (ISession s = sessions.OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                Nums nums = s.Get < Nums > (id1);
                                Assert.IsNotNull(nums);
                                s.Delete(nums);

                                nums = s.Get < Nums > (id2);
                                Assert.IsNotNull(nums);
                                s.Delete(nums);

                                tx.Commit();
                        }


Clone AbstractionParameter Count: 0Parameter Bindings

using (ISession s = sessions.OpenSession())
   using (ITransaction tx = s.BeginTransaction())
   {
      Nums nums = s.Get < Nums > (id1);
      Assert.IsNotNull(nums);
      s.Delete(nums);
      nums = s.Get < Nums > (id2);
      Assert.IsNotNull(nums);
      s.Delete(nums);
      tx.Commit();
   }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None