CloneSet577


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17240.971class_member_declarations[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11718
src/NHibernate/SqlCommand/SqlDeleteBuilder.cs
21723
src/NHibernate/SqlCommand/SqlUpdateBuilder.cs
Clone Instance
1
Line Count
17
Source Line
18
Source File
src/NHibernate/SqlCommand/SqlDeleteBuilder.cs

                private List<SqlString> whereStrings = new List<SqlString> ();

                private readonly List<SqlType> parameterTypes = new List<SqlType> ();

                private string comment;

                public SqlDeleteBuilder(Dialect.Dialect dialect, IMapping mapping)
                        : base(dialect, mapping) {
                                                 }

                public SqlDeleteBuilder SetTableName(string tableName)
                {
                        this.tableName = tableName;
                        return this ;
                }

                public SqlDeleteBuilder SetComment(string comment)
                {
                        this.comment = comment;
                        return this ;
                }



Clone Instance
2
Line Count
17
Source Line
23
Source File
src/NHibernate/SqlCommand/SqlUpdateBuilder.cs

                private List<SqlString> whereStrings = new List<SqlString> ();

                private readonly List<SqlType> whereParameterTypes = new List<SqlType> ();

                private SqlString assignments;

                public SqlUpdateBuilder(Dialect.Dialect dialect, IMapping mapping)
                        : base(dialect, mapping) {
                                                 }

                public SqlUpdateBuilder SetTableName(string tableName)
                {
                        this.tableName = tableName;
                        return this ;
                }

                public SqlUpdateBuilder SetComment(string comment)
                {
                        this.comment = comment;
                        return this ;
                }



Clone AbstractionParameter Count: 4Parameter Bindings

private List<SqlString> whereStrings = new List<SqlString> ();

private readonly List<SqlType> [[#variable6febe0c0]]= new List<SqlType> ();

private [[#variable6feacec0]] [[#variable6feace60]];

public [[#variable6feace00]](Dialect.Dialect dialect, IMapping mapping): base(dialect, mapping)
{
}

public [[#variable6feace00]]SetTableName(string tableName)
{
   this.tableName = tableName;
   return this ;
}

public [[#variable6feace00]]SetComment(string comment)
{
   this.comment = comment;
   return this ;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6febe0c0]]
parameterTypes 
12[[#6febe0c0]]
whereParameterTypes 
21[[#6feacec0]]
string 
22[[#6feacec0]]
SqlString 
31[[#6feace60]]
comment 
32[[#6feace60]]
assignments 
41[[#6feace00]]
SqlDeleteBuilder 
42[[#6feace00]]
SqlUpdateBuilder