Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.974 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 29 | src/NHibernate.Test/SqlCommandTest/SqlDeleteBuilderFixture.cs |
2 | 5 | 34 | src/NHibernate.Test/SqlCommandTest/SqlUpdateBuilderFixture.cs |
| ||||
delete.SetIdentityColumn(new string[] { "decimalColumn" } , NHibernateUtil.Decimal); delete.SetVersionColumn(new string[] { "versionColumn" } , (IVersionType) NHibernateUtil.Int32); delete.AddWhereFragment("a=b"); SqlCommandInfo sqlCommand = delete.ToSqlCommandInfo(); |
| ||||
update.SetIdentityColumn(new string[] { "decimalColumn" } , NHibernateUtil.Decimal); update.SetVersionColumn(new string[] { "versionColumn" } , (IVersionType) NHibernateUtil.Int32); update.AddWhereFragment("a=b"); SqlCommandInfo sqlCommand = update.ToSqlCommandInfo(); |
| |||
[[#variable28fbe3a0]].SetIdentityColumn(new string[] { "decimalColumn" } , NHibernateUtil.Decimal); [[#variable28fbe3a0]].SetVersionColumn(new string[] { "versionColumn" } , (IVersionType)NHibernateUtil.Int32); [[#variable28fbe3a0]].AddWhereFragment("a=b"); SqlCommandInfo sqlCommand = [[#variable28fbe3a0]].ToSqlCommandInfo(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#28fbe3a0]] | delete |
1 | 2 | [[#28fbe3a0]] | update |