Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 0 | 1.000 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 72 | src/NHibernate.Test/GenericTest/IdBagGeneric/IdBagGenericFixture.cs |
2 | 15 | 169 | src/NHibernate.Test/GenericTest/MapGeneric/MapGenericFixture.cs |
| ||||
A copiedA; using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { copiedA = (A) s.SaveOrUpdateCopy(a); t.Commit(); } using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { A loadedA = s.Get < A > (copiedA.Id); Assert.IsNotNull( loadedA); s.Delete( loadedA); t.Commit(); } |
| ||||
A copiedA; using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { copiedA = (A) s.SaveOrUpdateCopy( a); t.Commit(); } using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { A loadedA = s.Get < A > ( copiedA.Id); Assert.IsNotNull( loadedA); s.Delete( loadedA); t.Commit(); } |
| |||
A copiedA; using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { copiedA = (A)s.SaveOrUpdateCopy(a); t.Commit(); } using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { A loadedA = s.Get < A > (copiedA.Id); Assert.IsNotNull(loadedA); s.Delete(loadedA); t.Commit(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |