CloneSet376


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
33520.962compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1331
src/NHibernate/SqlTypes/AnsiStringFixedLengthSqlType.cs
2331
src/NHibernate/SqlTypes/AnsiStringSqlType.cs
3331
src/NHibernate/SqlTypes/BinarySqlType.cs
4331
src/NHibernate/SqlTypes/StringFixedLengthSqlType.cs
5331
src/NHibernate/SqlTypes/StringSqlType.cs
Clone Instance
1
Line Count
33
Source Line
1
Source File
src/NHibernate/SqlTypes/AnsiStringFixedLengthSqlType.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)
                {
                }

        }
}


Clone Instance
2
Line Count
33
Source Line
1
Source File
src/NHibernate/SqlTypes/AnsiStringSqlType.cs

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)
                {
                }

        }
}


Clone Instance
3
Line Count
33
Source Line
1
Source File
src/NHibernate/SqlTypes/BinarySqlType.cs

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)
                {
                }

        }
}


Clone Instance
4
Line Count
33
Source Line
1
Source File
src/NHibernate/SqlTypes/StringFixedLengthSqlType.cs

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)
                {
                }

        }
}


Clone Instance
5
Line Count
33
Source Line
1
Source File
src/NHibernate/SqlTypes/StringSqlType.cs

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)
                {
                }

        }
}


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6fd08be0]]
AnsiStringFixedLengthSqlType 
12[[#6fd08be0]]
AnsiStringSqlType 
13[[#6fd08be0]]
BinarySqlType 
14[[#6fd08be0]]
StringFixedLengthSqlType 
15[[#6fd08be0]]
StringSqlType 
21[[#6f49ea20]]
AnsiStringFixedLength 
22[[#6f49ea20]]
AnsiString 
23[[#6f49ea20]]
Binary 
24[[#6f49ea20]]
StringFixedLength 
25[[#6f49ea20]]
String