CloneSet533


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8320.971class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1865
src/NHibernate/Driver/OdbcDriver.cs
28153
src/NHibernate/Driver/SqlClientDriver.cs
3990
src/NHibernate/Driver/SqlServerCeDriver.cs
Clone Instance
1
Line Count
8
Source Line
65
Source File
src/NHibernate/Driver/OdbcDriver.cs

                public override IDbCommand GenerateCommand(CommandType type, SqlString sqlString, SqlType[] parameterTypes)
                {
                        IDbCommand command = base.GenerateCommand(type, sqlString, parameterTypes);
                        if (IsPrepareSqlEnabled)
                        {
                                SetParameterSizes(command.Parameters, parameterTypes);
                        }
                        return command;
                }



Clone Instance
2
Line Count
8
Source Line
153
Source File
src/NHibernate/Driver/SqlClientDriver.cs

                public override IDbCommand GenerateCommand(CommandType type, SqlString sqlString, SqlType[] parameterTypes)
                {
                        IDbCommand command = base.GenerateCommand(type, sqlString, parameterTypes);
                        if (IsPrepareSqlEnabled)
                        {
                                SetParameterSizes(command.Parameters, parameterTypes);
                        }
                        return command;
                }



Clone Instance
3
Line Count
9
Source Line
90
Source File
src/NHibernate/Driver/SqlServerCeDriver.cs

                public override IDbCommand GenerateCommand(CommandType type, SqlString sqlString, SqlType[] parameterTypes)
                {
                        IDbCommand command = base.GenerateCommand(type, sqlString, parameterTypes);
                        if (prepareSql)
                        {
                                SqlClientDriver.SetParameterSizes(command.Parameters, parameterTypes);
                        }

                        return command;
                }



Clone AbstractionParameter Count: 2Parameter Bindings

public override IDbCommand GenerateCommand(CommandType type, SqlString sqlString, SqlType[] parameterTypes)
{
   IDbCommand command = base.GenerateCommand(type, sqlString, parameterTypes);
   if ( [[#variable5e484f20]])
   {
       [[#variable5e484ec0]](command.Parameters, parameterTypes);
   }
   return command;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5e484f20]]
IsPrepareSqlEnabled 
12[[#5e484f20]]
prepareSql 
13[[#5e484f20]]
IsPrepareSqlEnabled 
21[[#5e484ec0]]
SetParameterSizes 
22[[#5e484ec0]]
SqlClientDriver.SetParameterSizes 
23[[#5e484ec0]]
SetParameterSizes