Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.963 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 131 | src/NHibernate/SqlCommand/SqlSimpleSelectBuilder.cs |
2 | 4 | 143 | src/NHibernate/SqlCommand/SqlSimpleSelectBuilder.cs |
| ||||
/// <summary> /// Sets the IdentityColumn for the <c>SELECT</c> sql to use. /// </summary> /// <param name="columnNames">An array of the column names for the Property</param> /// <param name="identityType">The IType of the Identity Property.</param> /// <returns>The SqlSimpleSelectBuilder.</returns> public SqlSimpleSelectBuilder SetIdentityColumn(string[] columnNames, IType identityType) { whereStrings.Add(ToWhereString(columnNames)); return this ; } |
| ||||
/// <summary> /// Sets the VersionColumn for the <c>SELECT</c> sql to use. /// </summary> /// <param name="columnNames">An array of the column names for the Property</param> /// <param name="versionType">The IVersionType of the Version Property.</param> /// <returns>The SqlSimpleSelectBuilder.</returns> public SqlSimpleSelectBuilder SetVersionColumn(string[] columnNames, IVersionType versionType) { whereStrings.Add(ToWhereString(columnNames)); return this ; } |
| |||
/// <summary> /// Sets the IdentityColumn for the <c>SELECT</c> sql to use. /// Sets the VersionColumn for the <c>SELECT</c> sql to use. /// </summary> /// <param name="columnNames">An array of the column names for the Property</param> /// <param name="identityType">The IType of the Identity Property.</param> /// <param name="versionType">The IVersionType of the Version Property.</param> /// <returns>The SqlSimpleSelectBuilder.</returns> public SqlSimpleSelectBuilder [[#variable6f546340]](string[] columnNames, [[#variable6f81ba40]] [[#variable6f546a80]]) { whereStrings.Add(ToWhereString(columnNames)); return this ; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6f546340]] | SetIdentityColumn |
1 | 2 | [[#6f546340]] | SetVersionColumn |
2 | 1 | [[#6f81ba40]] | IType |
2 | 2 | [[#6f81ba40]] | IVersionType |
3 | 1 | [[#6f546a80]] | identityType |
3 | 2 | [[#6f546a80]] | versionType |