Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
43 | 2 | 4 | 0.975 | compilation_unit |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 43 | 1 | src/NHibernate/Driver/DB2400Driver.cs |
2 | 43 | 1 | src/NHibernate/Driver/DB2Driver.cs |
| ||||
using System; namespace NHibernate.Driver { /// <summary> /// A NHibernate Driver for using the IBM.Data.DB2.iSeries DataProvider. /// </summary> public class DB2400Driver : ReflectionBasedDriver { /// <summary> /// Initializes a new instance of the <see cref="DB2Driver"/> class. /// </summary> /// <exception cref="HibernateException"> /// Thrown when the <c>IBM.Data.DB2.iSeries</c> assembly can not be loaded. /// </exception> public DB2400Driver() : base( "IBM.Data.DB2.iSeries", "IBM.Data.DB2.iSeries.iDB2Connection", "IBM.Data.DB2.iSeries.iDB2Command") { } public override bool UseNamedPrefixInSql { get { return false; } } public override bool UseNamedPrefixInParameter { get { return false; } } public override string NamedPrefix { get { return String.Empty; } } public override bool SupportsMultipleOpenReaders { get { return false; } } } } |
| ||||
using System; namespace NHibernate.Driver { /// <summary> /// A NHibernate Driver for using the IBM.Data.DB2 DataProvider. /// </summary> public class DB2Driver : ReflectionBasedDriver { /// <summary> /// Initializes a new instance of the <see cref="DB2Driver"/> class. /// </summary> /// <exception cref="HibernateException"> /// Thrown when the <c>IBM.Data.DB2</c> assembly can not be loaded. /// </exception> public DB2Driver() : base( "IBM.Data.DB2", "IBM.Data.DB2.DB2Connection", "IBM.Data.DB2.DB2Command") { } public override bool UseNamedPrefixInSql { get { return false; } } public override bool UseNamedPrefixInParameter { get { return false; } } public override string NamedPrefix { get { return String.Empty; } } public override bool SupportsMultipleOpenReaders { get { return false; } } } } |
| |||
using System; namespace NHibernate.Driver { /// <summary> /// A NHibernate Driver for using the IBM.Data.DB2.iSeries DataProvider. /// A NHibernate Driver for using the IBM.Data.DB2 DataProvider. /// </summary> public class [[#variable662e0460]]: ReflectionBasedDriver { /// <summary> /// Initializes a new instance of the <see cref="DB2Driver"/> class. /// </summary> /// <exception cref="HibernateException"> /// Thrown when the <c>IBM.Data.DB2.iSeries</c> assembly can not be loaded. /// Thrown when the <c>IBM.Data.DB2</c> assembly can not be loaded. /// </exception> public [[#variable662e0460]](): base( [[#variable662e03e0]], [[#variable563f85c0]], [[#variable662e02a0]]) { } public override bool UseNamedPrefixInSql { get { return false; } } public override bool UseNamedPrefixInParameter { get { return false; } } public override string NamedPrefix { get { return String.Empty; } } public override bool SupportsMultipleOpenReaders { get { return false; } } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#662e0460]] | DB2400Driver |
1 | 2 | [[#662e0460]] | DB2Driver |
2 | 1 | [[#662e03e0]] | "IBM.Data.DB2.iSeries" |
2 | 2 | [[#662e03e0]] | "IBM.Data.DB2" |
3 | 1 | [[#563f85c0]] | "IBM.Data.DB2.iSeries.iDB2Connection" |
3 | 2 | [[#563f85c0]] | "IBM.Data.DB2.DB2Connection" |
4 | 1 | [[#662e02a0]] | "IBM.Data.DB2.iSeries.iDB2Command" |
4 | 2 | [[#662e02a0]] | "IBM.Data.DB2.DB2Command" |