CloneSet951


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.994non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17199
src/NHibernate.Test/SecondLevelCacheTest/QueryCacheFixture.cs
27220
src/NHibernate.Test/SecondLevelCacheTest/QueryCacheFixture.cs
Clone Instance
1
Line Count
7
Source Line
199
Source File
src/NHibernate.Test/SecondLevelCacheTest/QueryCacheFixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.CreateQuery(queryString).SetCacheable(true).List();
                                var i = new Item { Name = "widget"
                                                 } ;
                                savedId = s.Save(i);
                                tx.Commit();
                        }


Clone Instance
2
Line Count
7
Source Line
220
Source File
src/NHibernate.Test/SecondLevelCacheTest/QueryCacheFixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.CreateQuery(queryString).SetCacheable(true).List();
                                var i = new AnotherItem { Name = "widget"
                                                        } ;
                                savedId = s.Save(i);
                                tx.Commit();
                        }


Clone AbstractionParameter Count: 1Parameter Bindings

using (ISession s = OpenSession())
   using (ITransaction tx = s.BeginTransaction())
   {
      s.CreateQuery(queryString).SetCacheable(true).List();
      var i = new [[#variable57ad72a0]]{
                                          Name = "widget"
                                       } ;
      savedId = s.Save(i);
      tx.Commit();
   }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57ad72a0]]
Item 
12[[#57ad72a0]]
AnotherItem