CloneSet809


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.969class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16121
src/NHibernate/Impl/AbstractDetachedQuery.cs
26143
src/NHibernate/Impl/AbstractDetachedQuery.cs
Clone Instance
1
Line Count
6
Source Line
121
Source File
src/NHibernate/Impl/AbstractDetachedQuery.cs

                public IDetachedQuery SetParameter(string name, object val, Type.IType type)
                {
                        if (string.IsNullOrEmpty(name))
                                throw new ArgumentNullException("name", "Is null or empty.");
                        namedParams[name] = new TypedValue(type, val, EntityMode.Poco);
                        return this ;
                }



Clone Instance
2
Line Count
6
Source Line
143
Source File
src/NHibernate/Impl/AbstractDetachedQuery.cs

                public IDetachedQuery SetParameterList(string name, ICollection vals, Type.IType type)
                {
                        if (string.IsNullOrEmpty(name))
                                throw new ArgumentNullException("name", "Is null or empty.");
                        namedListParams[name] = new TypedValue(type, vals, EntityMode.Poco);
                        return this ;
                }



Clone AbstractionParameter Count: 4Parameter Bindings

public IDetachedQuery [[#variable57f41ee0]](string name, [[#variable57f40e20]] [[#variable57f41de0]], Type.IType type)
{
   if (string.IsNullOrEmpty(name))
      throw new ArgumentNullException("name", "Is null or empty.");
    [[#variable57f41dc0]][name] = new TypedValue(type, [[#variable57f41de0]], EntityMode.Poco);
   return this ;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57f41ee0]]
SetParameter 
12[[#57f41ee0]]
SetParameterList 
21[[#57f40e20]]
object 
22[[#57f40e20]]
ICollection 
31[[#57f41de0]]
val 
32[[#57f41de0]]
vals 
41[[#57f41dc0]]
namedParams 
42[[#57f41dc0]]
namedListParams