CloneSet1579


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.983class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14444
src/NHibernate/Dialect/MsSql2000Dialect.cs
24457
src/NHibernate/Dialect/MsSql2000Dialect.cs
Clone Instance
1
Line Count
4
Source Line
444
Source File
src/NHibernate/Dialect/MsSql2000Dialect.cs

                public override string GetIfExistsDropConstraint(Table table, string name)
                {
                        string selectExistingObject = GetSelectExistingObject(name, table);
                        return string.Format(@"if exists ({0})", selectExistingObject);
                }



Clone Instance
2
Line Count
4
Source Line
457
Source File
src/NHibernate/Dialect/MsSql2000Dialect.cs

                public override string GetIfNotExistsCreateConstraint(Table table, string name)
                {
                        string selectExistingObject = GetSelectExistingObject(name, table);
                        return string.Format(@"if not exists ({0})", selectExistingObject);
                }



Clone AbstractionParameter Count: 2Parameter Bindings

public override string [[#variable27412740]](Table table, string name)
{
   string selectExistingObject = GetSelectExistingObject(name, table);
   return string.Format( [[#variable274126a0]], selectExistingObject);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#27412740]]
GetIfNotExistsCreateConstraint 
12[[#27412740]]
GetIfExistsDropConstraint 
21[[#274126a0]]
@"if not exists ({0})" 
22[[#274126a0]]
@"if exists ({0})"