Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 0 | 1.000 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 96 | src/NHibernate.Test/Naturalid/Immutable/ImmutableNaturalIdFixture.cs |
2 | 5 | 119 | src/NHibernate.Test/Naturalid/Immutable/ImmutableNaturalIdFixture.cs |
3 | 5 | 126 | src/NHibernate.Test/Naturalid/Immutable/ImmutableNaturalIdFixture.cs |
| ||||
u = (User) s.CreateCriteria( typeof( User)).Add(Restrictions.NaturalId().Set("UserName", "steve")).SetCacheable(true). UniqueResult(); Assert.That(u, Is.Not.Null); |
| ||||
u = (User) s.CreateCriteria( typeof(User)).Add(Restrictions.NaturalId().Set("UserName", "steve")).SetCacheable(true). UniqueResult(); Assert.That(u, Is.Not.Null); |
| ||||
u = (User) s.CreateCriteria( typeof(User)).Add(Restrictions.NaturalId().Set("UserName", "steve")).SetCacheable(true). UniqueResult(); Assert.That(u, Is.Not.Null); |
| |||
u = (User)s.CreateCriteria( typeof(User)).Add(Restrictions.NaturalId().Set("UserName", "steve")).SetCacheable(true).UniqueResult(); Assert.That(u, Is.Not.Null); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |