CloneSet357


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10350.965class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110269
src/NHibernate/Impl/AbstractDetachedQuery.cs
210451
src/NHibernate/Impl/AbstractQueryImpl.cs
310565
src/NHibernate/Impl/AbstractQueryImpl.cs
Clone Instance
1
Line Count
10
Source Line
269
Source File
src/NHibernate/Impl/AbstractDetachedQuery.cs

                public IDetachedQuery SetEntity(string name, object val)
                {
                        SetParameter(name, val, NHibernateUtil.Entity(NHibernateProxyHelper.GuessClass(val)));
                        return this ;
                }

                public IDetachedQuery SetEnum(int position, Enum val)
                {
                        SetParameter(position, val, NHibernateUtil.Enum(val.GetType()));
                        return this ;
                }



Clone Instance
2
Line Count
10
Source Line
451
Source File
src/NHibernate/Impl/AbstractQueryImpl.cs

                public IQuery SetEntity(int position, object val)
                {
                        SetParameter(position, val, NHibernateUtil.Entity(NHibernateProxyHelper.GuessClass(val)));
                        return this ;
                }

                public IQuery SetEnum(int position, Enum val)
                {
                        SetParameter(position, val, NHibernateUtil.Enum(val.GetType()));
                        return this ;
                }



Clone Instance
3
Line Count
10
Source Line
565
Source File
src/NHibernate/Impl/AbstractQueryImpl.cs

                public IQuery SetEntity(string name, object val)
                {
                        SetParameter(name, val, NHibernateUtil.Entity(NHibernateProxyHelper.GuessClass(val)));
                        return this ;
                }

                public IQuery SetEnum(string name, Enum val)
                {
                        SetParameter(name, val, NHibernateUtil.Enum(val.GetType()));
                        return this ;
                }



Clone AbstractionParameter Count: 5Parameter Bindings

public [[#variable70b0a8a0]]SetEntity( [[#variable2d0991e0]] [[#variable703a13c0]], object val)
{
   SetParameter( [[#variable703a13c0]], val, NHibernateUtil.Entity(NHibernateProxyHelper.GuessClass(val)));
   return this ;
}

public [[#variable70b0a8a0]]SetEnum( [[#variable2cf80c80]] [[#variable67b7db60]], Enum val)
{
   SetParameter( [[#variable67b7db60]], val, NHibernateUtil.Enum(val.GetType()));
   return this ;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#70b0a8a0]]
IDetachedQuery 
12[[#70b0a8a0]]
IQuery 
13[[#70b0a8a0]]
IQuery 
21[[#2d0991e0]]
string 
22[[#2d0991e0]]
string 
23[[#2d0991e0]]
int 
31[[#703a13c0]]
name 
32[[#703a13c0]]
name 
33[[#703a13c0]]
position 
41[[#2cf80c80]]
int 
42[[#2cf80c80]]
string 
43[[#2cf80c80]]
int 
51[[#67b7db60]]
position 
52[[#67b7db60]]
name 
53[[#67b7db60]]
position