CloneSet1191


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1557
src/NHibernate/Driver/OdbcDriver.cs
2583
src/NHibernate/Driver/SqlClientDriver.cs
Clone Instance
1
Line Count
5
Source Line
57
Source File
src/NHibernate/Driver/OdbcDriver.cs

                public static void SetParameterSizes(IDataParameterCollection parameters, SqlType[] parameterTypes)
                {
                        for (int i = 0; i < parameters.Count; i++)
                        {
                                SetVariableLengthParameterSize((IDbDataParameter)parameters[i], parameterTypes[i]);
                        }
                }



Clone Instance
2
Line Count
5
Source Line
83
Source File
src/NHibernate/Driver/SqlClientDriver.cs

                // Used from SqlServerCeDriver as well
                public static void SetParameterSizes(IDataParameterCollection parameters, SqlType[] parameterTypes)
                {
                        for (int i = 0; i < parameters.Count; i++)
                        {
                                SetVariableLengthParameterSize((IDbDataParameter) parameters[i], parameterTypes[i]);
                        }
                }



Clone AbstractionParameter Count: 0Parameter Bindings

// Used from SqlServerCeDriver as well
public static void SetParameterSizes(IDataParameterCollection parameters, SqlType[] parameterTypes)
{
   for (int i = 0; i < parameters.Count; i++)
   {
      SetVariableLengthParameterSize((IDbDataParameter)parameters[i], parameterTypes[i]);
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None