Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.985 | null_coalescing_expression |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 828 | src/NHibernate.Test/Criteria/CriteriaQueryTest.cs |
2 | 4 | 1197 | src/NHibernate.Test/Criteria/CriteriaQueryTest.cs |
| ||||
s.CreateCriteria( typeof(Enrolment)). SetProjection(Projections.Property("StudentNumber").As("stNumber")). AddOrder (Order.Desc("stNumber")). SetResultTransformer(CriteriaSpecification.AliasToEntityMap) |
| ||||
s.CreateCriteria( typeof(Enrolment)). SetProjection(Property.ForName("StudentNumber").As("stNumber")). AddOrder(Order.Desc("stNumber")). SetResultTransformer(CriteriaSpecification.AliasToEntityMap) |
| |||
s.CreateCriteria( typeof(Enrolment)).SetProjection( [[#variable2cd291e0]]. [[#variable2cd29180]]("StudentNumber").As("stNumber")).AddOrder(Order.Desc("stNumber")).SetResultTransformer(CriteriaSpecification.AliasToEntityMap) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2cd291e0]] | Projections |
1 | 2 | [[#2cd291e0]] | Property |
2 | 1 | [[#2cd29180]] | Property |
2 | 2 | [[#2cd29180]] | ForName |