CloneSet426


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9201.000primary_no_array_creation_expression
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19999
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs
291178
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs
Clone Instance
1
Line Count
9
Source Line
999
Source File
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs

                                               s.CreateCriteria( typeof(Enrolment)).
                                 SetProjection (Projections.ProjectionList().
                                                                  Add(Property.ForName("StudentNumber").As("stNumber")).
                                                                  Add(Property.ForName("CourseCode").As("cCode"))).

                                 Add           (Property.ForName("StudentNumber").Gt(665L)).
                                 Add           (Property.ForName("StudentNumber").Lt(668L)).
                                 AddOrder      (Property.ForName("StudentNumber").Asc()).
                                 SetResultTransformer(CriteriaSpecification.AliasToEntityMap)


Clone Instance
2
Line Count
9
Source Line
1178
Source File
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs

                                                                                       s.CreateCriteria( typeof(Enrolment)).
                                                                                                                                                         SetProjection(Projections.ProjectionList().
                                                                                                                                                                                         Add(Property.ForName("StudentNumber").As("stNumber")).
                                                                                                                                                                                         Add(Property.ForName("CourseCode").As("cCode"))).

                                                                                                                                                         Add(Property.ForName("StudentNumber").Gt(665L)).
                                                                                                                                                         Add(Property.ForName("StudentNumber").Lt(668L)).
                                                                                                                                                         AddOrder(Property.ForName("StudentNumber").Asc()).
                                                                                                                                                         SetResultTransformer(CriteriaSpecification.AliasToEntityMap)


Clone AbstractionParameter Count: 0Parameter Bindings

s.CreateCriteria( typeof(Enrolment)).SetProjection(Projections.ProjectionList().Add(Property.ForName("StudentNumber").As("stNumber")).Add(Property.ForName("CourseCode").As("cCode"))).Add(Property.ForName("StudentNumber").Gt(665L)).Add(Property.ForName("StudentNumber").Lt(668L)).AddOrder(Property.ForName("StudentNumber").Asc()).SetResultTransformer(CriteriaSpecification.AliasToEntityMap)
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None