CloneSet741


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1730
src/NHibernate.Test/NHSpecificTest/NH1727/Fixture.cs
2754
src/NHibernate.Test/NHSpecificTest/NH1727/Fixture.cs
Clone Instance
1
Line Count
7
Source Line
30
Source File
src/NHibernate.Test/NHSpecificTest/NH1727/Fixture.cs

                        using (ISession s = OpenSession())
                        {
                                s.EnableFilter("bEquals").SetParameter("b", b.Id);
                                s.CreateQuery(hql).
                                         SetString("name", "Sweden").
                                         SetParameterList("aValues", new [] { 1, 3, 4
                                                                            } ).List<ClassA> ();
                        }


Clone Instance
2
Line Count
7
Source Line
54
Source File
src/NHibernate.Test/NHSpecificTest/NH1727/Fixture.cs

                        using (ISession s = OpenSession())
                        {
                                s.EnableFilter("bEquals").SetParameter("b", b.Id);
                                s.CreateQuery(hql).
                                         SetString("name", "Sweden").
                                         SetParameterList("aValues", new [] { 1, 3, 4
                                                                            } ).List<ClassA> ();
                        }


Clone AbstractionParameter Count: 0Parameter Bindings

using (ISession s = OpenSession())
{
   s.EnableFilter("bEquals").SetParameter("b", b.Id);
   s.CreateQuery(hql).SetString("name", "Sweden").SetParameterList("aValues", new []
                                                                              {
                                                                                 1, 3, 4
                                                                              } ).List<ClassA> ();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None