Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 0 | 1.000 | primary_no_array_creation_expression |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 999 | src/NHibernate.Test/Criteria/CriteriaQueryTest.cs |
2 | 9 | 1178 | 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) |
| ||||
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) |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |