CloneSet1177


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14230.959class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114145
src/NHibernate/SqlCommand/SqlSelectBuilder.cs
214168
src/NHibernate/SqlCommand/SqlSelectBuilder.cs
Clone Instance
1
Line Count
14
Source Line
145
Source File
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 ;
                }



Clone Instance
2
Line Count
14
Source Line
168
Source File
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 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 ;
                }



Clone AbstractionParameter Count: 3Parameter Bindings

/// <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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#294d1f80]]
SetWhereClause 
12[[#294d1f80]]
SetHavingClause 
21[[#294d1f00]]
whereSqlString 
22[[#294d1f00]]
havingSqlString 
31[[#283bbc00]]
whereClause 
32[[#283bbc00]]
havingClause