Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
33 | 5 | 2 | 0.962 | compilation_unit |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 33 | 1 | src/NHibernate/SqlTypes/AnsiStringFixedLengthSqlType.cs |
2 | 33 | 1 | src/NHibernate/SqlTypes/AnsiStringSqlType.cs |
3 | 33 | 1 | src/NHibernate/SqlTypes/BinarySqlType.cs |
4 | 33 | 1 | src/NHibernate/SqlTypes/StringFixedLengthSqlType.cs |
5 | 33 | 1 | src/NHibernate/SqlTypes/StringSqlType.cs |
| ||||
using System; using System.Data; namespace NHibernate.SqlTypes { /// <summary> /// Describes the details of a <see cref="DbType.AnsiStringFixedLength"/> with the /// information required to to generate an <see cref="IDbDataParameter"/>. /// </summary> /// <remarks> /// This can store the length of the string that the <see cref="IDbDataParameter"/> can hold. /// If no value is provided for the length then the <c>Driver</c> is responsible for /// setting the properties on the <see cref="IDbDataParameter"/> correctly. /// </remarks> [Serializable] public class AnsiStringFixedLengthSqlType : SqlType { /// <summary> /// Initializes a new instance of the <see cref="AnsiStringFixedLengthSqlType"/> class. /// </summary> public AnsiStringFixedLengthSqlType() : base(DbType.AnsiStringFixedLength) { } /// <summary> /// Initializes a new instance of the <see cref="AnsiStringFixedLengthSqlType"/> class. /// </summary> /// <param name="length">The length of the string the <see cref="IDbDataParameter"/> should hold.</param> public AnsiStringFixedLengthSqlType(int length) : base(DbType.AnsiStringFixedLength, length) { } } } |
| ||||
using System; using System.Data; namespace NHibernate.SqlTypes { /// <summary> /// Describes the details of a <see cref="DbType.AnsiString"/> with the /// information required to generate an <see cref="IDbDataParameter"/>. /// </summary> /// <remarks> /// This can store the length of the string that the <see cref="IDbDataParameter"/> can hold. /// If no value is provided for the length then the <c>Driver</c> is responsible for /// setting the properties on the <see cref="IDbDataParameter"/> correctly. /// </remarks> [Serializable] public class AnsiStringSqlType : SqlType { /// <summary> /// Initializes a new instance of the <see cref="AnsiStringSqlType"/> class. /// </summary> public AnsiStringSqlType() : base(DbType.AnsiString) { } /// <summary> /// Initializes a new instance of the <see cref="AnsiStringSqlType"/> class. /// </summary> /// <param name="length">The length of the string the <see cref="IDbDataParameter"/> should hold.</param> public AnsiStringSqlType(int length) : base(DbType.AnsiString, length) { } } } |
| ||||
using System; using System.Data; namespace NHibernate.SqlTypes { /// <summary> /// Describes the details of a <see cref="DbType.Binary"/> with the /// information required to to generate an <see cref="IDbDataParameter"/>. /// </summary> /// <remarks> /// This can store the binary data that the <see cref="IDbDataParameter"/> can hold. /// If no value is provided for the length then the <c>Driver</c> is responsible for /// setting the properties on the <see cref="IDbDataParameter"/> correctly. /// </remarks> [Serializable] public class BinarySqlType : SqlType { /// <summary> /// Initializes a new instance of the <see cref="BinarySqlType"/> class. /// </summary> public BinarySqlType() : base(DbType.Binary) { } /// <summary> /// Initializes a new instance of the <see cref="BinarySqlType"/> class. /// </summary> /// <param name="length">The length of the binary data the <see cref="IDbDataParameter"/> should hold</param> public BinarySqlType(int length) : base(DbType.Binary, length) { } } } |
| ||||
using System; using System.Data; namespace NHibernate.SqlTypes { /// <summary> /// Describes the details of a <see cref="DbType.StringFixedLength"/> with the /// information required to to generate an <see cref="IDbDataParameter"/>. /// </summary> /// <remarks> /// This can store the length of the string that the <see cref="IDbDataParameter"/> can hold. /// If no value is provided for the length then the <c>Driver</c> is responsible for /// setting the properties on the <see cref="IDbDataParameter"/> correctly. /// </remarks> [Serializable] public class StringFixedLengthSqlType : SqlType { /// <summary> /// Initializes a new instance of the <see cref="StringFixedLengthSqlType"/> class. /// </summary> public StringFixedLengthSqlType() : base(DbType.StringFixedLength) { } /// <summary> /// Initializes a new instance of the <see cref="StringFixedLengthSqlType"/> class. /// </summary> /// <param name="length">The length of the string the <see cref="IDbDataParameter"/> should hold.</param> public StringFixedLengthSqlType(int length) : base(DbType.StringFixedLength, length) { } } } |
| ||||
using System; using System.Data; namespace NHibernate.SqlTypes { /// <summary> /// Describes the details of a <see cref="DbType.String"/> with the /// information required to generate an <see cref="IDbDataParameter"/>. /// </summary> /// <remarks> /// This can store the length of the string that the <see cref="IDbDataParameter"/> can hold. /// If no value is provided for the length then the <c>Driver</c> is responsible for /// setting the properties on the <see cref="IDbDataParameter"/> correctly. /// </remarks> [Serializable] public class StringSqlType : SqlType { /// <summary> /// Initializes a new instance of the <see cref="StringSqlType"/> class. /// </summary> public StringSqlType() : base(DbType.String) { } /// <summary> /// Initializes a new instance of the <see cref="StringSqlType"/> class. /// </summary> /// <param name="length">The length of the string the <see cref="IDbDataParameter"/> should hold.</param> public StringSqlType(int length) : base(DbType.String, length) { } } } |
| |||
using System; using System.Data; namespace NHibernate.SqlTypes { /// <summary> /// Describes the details of a <see cref="DbType.AnsiStringFixedLength"/> with the /// Describes the details of a <see cref="DbType.Binary"/> with the /// Describes the details of a <see cref="DbType.StringFixedLength"/> with the /// information required to to generate an <see cref="IDbDataParameter"/>. /// Describes the details of a <see cref="DbType.AnsiString"/> with the /// Describes the details of a <see cref="DbType.String"/> with the /// information required to generate an <see cref="IDbDataParameter"/>. /// </summary> /// <remarks> /// This can store the length of the string that the <see cref="IDbDataParameter"/> can hold. /// This can store the binary data that the <see cref="IDbDataParameter"/> can hold. /// If no value is provided for the length then the <c>Driver</c> is responsible for /// setting the properties on the <see cref="IDbDataParameter"/> correctly. /// </remarks> [Serializable] public class [[#variable6fd08be0]]: SqlType { /// <summary> /// Initializes a new instance of the <see cref="AnsiStringFixedLengthSqlType"/> class. /// Initializes a new instance of the <see cref="AnsiStringSqlType"/> class. /// Initializes a new instance of the <see cref="BinarySqlType"/> class. /// Initializes a new instance of the <see cref="StringFixedLengthSqlType"/> class. /// Initializes a new instance of the <see cref="StringSqlType"/> class. /// </summary> public [[#variable6fd08be0]](): base(DbType. [[#variable6f49ea20]]) { } /// <summary> /// Initializes a new instance of the <see cref="AnsiStringFixedLengthSqlType"/> class. /// Initializes a new instance of the <see cref="AnsiStringSqlType"/> class. /// Initializes a new instance of the <see cref="BinarySqlType"/> class. /// Initializes a new instance of the <see cref="StringFixedLengthSqlType"/> class. /// Initializes a new instance of the <see cref="StringSqlType"/> class. /// </summary> /// <param name="length">The length of the string the <see cref="IDbDataParameter"/> should hold.</param> /// <param name="length">The length of the binary data the <see cref="IDbDataParameter"/> should hold</param> public [[#variable6fd08be0]](int length): base(DbType. [[#variable6f49ea20]], length) { } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6fd08be0]] | AnsiStringFixedLengthSqlType |
1 | 2 | [[#6fd08be0]] | AnsiStringSqlType |
1 | 3 | [[#6fd08be0]] | BinarySqlType |
1 | 4 | [[#6fd08be0]] | StringFixedLengthSqlType |
1 | 5 | [[#6fd08be0]] | StringSqlType |
2 | 1 | [[#6f49ea20]] | AnsiStringFixedLength |
2 | 2 | [[#6f49ea20]] | AnsiString |
2 | 3 | [[#6f49ea20]] | Binary |
2 | 4 | [[#6f49ea20]] | StringFixedLength |
2 | 5 | [[#6f49ea20]] | String |