CloneSet557


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13220.968class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113657
src/NHibernate/Impl/SessionImpl.cs
213725
src/NHibernate/Impl/SessionImpl.cs
Clone Instance
1
Line Count
13
Source Line
657
Source File
src/NHibernate/Impl/SessionImpl.cs

                public IEnumerable Enumerable(string query)
                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                return Enumerable(query, NoArgs, NoTypes);
                        }
                }

                public IEnumerable Enumerable(string query, object value, IType type)
                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                return Enumerable(query, new [] { value
                                                                } ,       new [] { type
                                                                                 } );
                        }
                }



Clone Instance
2
Line Count
13
Source Line
725
Source File
src/NHibernate/Impl/SessionImpl.cs

                // TODO: Scroll(string query, QueryParameters queryParameters)
                public int Delete(string query)
                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                return Delete(query, NoArgs, NoTypes);
                        }
                }

                public int Delete(string query, object value, IType type)
                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                return Delete(query, new [] { value
                                                            } ,       new [] { type
                                                                             } );
                        }
                }



Clone AbstractionParameter Count: 2Parameter Bindings

// TODO: Scroll(string query, QueryParameters queryParameters)
public [[#variable6d4274a0]] [[#variable6d4273e0]](string query)
{
   using (new SessionIdLoggingContext(SessionId))
   {
      return [[#variable6d4273e0]](query, NoArgs, NoTypes);
   }
}

public [[#variable6d4274a0]] [[#variable6d4273e0]](string query, object value, IType type)
{
   using (new SessionIdLoggingContext(SessionId))
   {
      return [[#variable6d4273e0]](query, new []
                                          {
                                             value
                                          } , new []
                                              {
                                                 type
                                              } );
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6d4274a0]]
IEnumerable 
12[[#6d4274a0]]
int 
21[[#6d4273e0]]
Enumerable 
22[[#6d4273e0]]
Delete