Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 3 | 0.959 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 145 | src/NHibernate/SqlCommand/SqlSelectBuilder.cs |
2 | 14 | 168 | src/NHibernate/SqlCommand/SqlSelectBuilder.cs |
| ||||
/// <summary> /// Sets the criteria to use for the WHERE. It joins all of the columnNames together with an AND. /// </summary> /// <param name="tableAlias"></param> /// <param name="columnNames">The names of the columns</param> /// <param name="whereType">The Hibernate Type</param> /// <returns>The SqlSelectBuilder</returns> public SqlSelectBuilder SetWhereClause(string tableAlias, string[] columnNames, IType whereType) { return SetWhereClause(ToWhereString(tableAlias, columnNames)); } /// <summary> /// Sets the prebuilt SqlString to the Where clause /// </summary> /// <param name="whereSqlString">The SqlString that contains the sql and parameters to add to the WHERE</param> /// <returns>This SqlSelectBuilder</returns> public SqlSelectBuilder SetWhereClause(SqlString whereSqlString) { whereClause = whereSqlString; return this ; } |
| ||||
/// <summary> /// Sets the criteria to use for the WHERE. It joins all of the columnNames together with an AND. /// </summary> /// <param name="tableAlias"></param> /// <param name="columnNames">The names of the columns</param> /// <param name="whereType">The Hibernate Type</param> /// <returns>The SqlSelectBuilder</returns> public SqlSelectBuilder SetHavingClause(string tableAlias, string[] columnNames, IType whereType) { return SetHavingClause(ToWhereString(tableAlias, columnNames)); } /// <summary> /// Sets the prebuilt SqlString to the Having clause /// </summary> /// <param name="havingSqlString">The SqlString that contains the sql and parameters to add to the HAVING</param> /// <returns>This SqlSelectBuilder</returns> public SqlSelectBuilder SetHavingClause(SqlString havingSqlString) { havingClause = havingSqlString; return this ; } |
| |||
/// <summary> /// Sets the criteria to use for the WHERE. It joins all of the columnNames together with an AND. /// </summary> /// <param name="tableAlias"></param> /// <param name="columnNames">The names of the columns</param> /// <param name="whereType">The Hibernate Type</param> /// <returns>The SqlSelectBuilder</returns> public SqlSelectBuilder [[#variable294d1f80]](string tableAlias, string[] columnNames, IType whereType) { return [[#variable294d1f80]](ToWhereString(tableAlias, columnNames)); } /// <summary> /// Sets the prebuilt SqlString to the Where clause /// Sets the prebuilt SqlString to the Having clause /// </summary> /// <param name="whereSqlString">The SqlString that contains the sql and parameters to add to the WHERE</param> /// <param name="havingSqlString">The SqlString that contains the sql and parameters to add to the HAVING</param> /// <returns>This SqlSelectBuilder</returns> public SqlSelectBuilder [[#variable294d1f80]](SqlString [[#variable294d1f00]]) { [[#variable283bbc00]]= [[#variable294d1f00]]; return this ; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#294d1f80]] | SetWhereClause |
1 | 2 | [[#294d1f80]] | SetHavingClause |
2 | 1 | [[#294d1f00]] | whereSqlString |
2 | 2 | [[#294d1f00]] | havingSqlString |
3 | 1 | [[#283bbc00]] | whereClause |
3 | 2 | [[#283bbc00]] | havingClause |