CloneSet926


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17320.983compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1171
src/NHibernate/AdoNet/NonBatchingBatcherFactory.cs
2121
src/NHibernate/AdoNet/OracleDataClientBatchingBatcherFactory.cs
3121
src/NHibernate/AdoNet/SqlClientBatchingBatcherFactory.cs
Clone Instance
1
Line Count
17
Source Line
1
Source File
src/NHibernate/AdoNet/NonBatchingBatcherFactory.cs

using NHibernate.Engine;

namespace NHibernate.AdoNet
{
        /// <summary> 
        /// A BatcherFactory implementation which constructs Batcher instances
        /// that do not perform batch operations. 
        /// </summary>
        public class NonBatchingBatcherFactory : IBatcherFactory
        {
                public virtual IBatcher CreateBatcher(ConnectionManager connectionManager, IInterceptor interceptor)
                {
                        return new NonBatchingBatcher(connectionManager, interceptor);
                }

        }
}


Clone Instance
2
Line Count
12
Source Line
1
Source File
src/NHibernate/AdoNet/OracleDataClientBatchingBatcherFactory.cs

using NHibernate.Engine;

namespace NHibernate.AdoNet
{
        public class OracleDataClientBatchingBatcherFactory : IBatcherFactory
        {
                public virtual IBatcher CreateBatcher(ConnectionManager connectionManager, IInterceptor interceptor)
                {
                        return new OracleDataClientBatchingBatcher(connectionManager, interceptor);
                }

        }
}


Clone Instance
3
Line Count
12
Source Line
1
Source File
src/NHibernate/AdoNet/SqlClientBatchingBatcherFactory.cs

using NHibernate.Engine;

namespace NHibernate.AdoNet
{
        public class SqlClientBatchingBatcherFactory : IBatcherFactory
        {
                public virtual IBatcher CreateBatcher(ConnectionManager connectionManager, IInterceptor interceptor)
                {
                        return new SqlClientBatchingBatcher(connectionManager, interceptor);
                }

        }
}


Clone AbstractionParameter Count: 2Parameter Bindings

using NHibernate.Engine;
namespace NHibernate.AdoNet
{
   /// <summary> 
   /// A BatcherFactory implementation which constructs Batcher instances
   /// that do not perform batch operations. 
   /// </summary>
   public class [[#variable583e8a20]]: IBatcherFactory
   {
      public virtual IBatcher CreateBatcher(ConnectionManager connectionManager, IInterceptor interceptor)
      {
         return new [[#variable5844c020]](connectionManager, interceptor);
      }

   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#583e8a20]]
NonBatchingBatcherFactory 
12[[#583e8a20]]
OracleDataClientBatchingBatcherFactory 
13[[#583e8a20]]
SqlClientBatchingBatcherFactory 
21[[#5844c020]]
NonBatchingBatcher 
22[[#5844c020]]
OracleDataClientBatchingBatcher 
23[[#5844c020]]
SqlClientBatchingBatcher