CloneSet1140


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
27230.960compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1271
src/NHibernate/Type/AnsiStringType.cs
2261
src/NHibernate/Type/StringType.cs
Clone Instance
1
Line Count
27
Source Line
1
Source File
src/NHibernate/Type/AnsiStringType.cs

using System;
using System.Data;
using NHibernate.SqlTypes;

namespace NHibernate.Type
{
        /// <summary>
        /// Maps a <see cref="System.String"/> Property 
        /// to a <see cref="DbType.AnsiString"/> column.
        /// </summary>
        [Serializable]
        public class AnsiStringType : AbstractStringType
        {
                internal AnsiStringType() : base(new AnsiStringSqlType()) {
                                                                          }

                internal AnsiStringType(AnsiStringSqlType sqlType)
                        : base(sqlType)
                {
                }

                /// <summary></summary>
                public override string Name
                {
                        get { return "AnsiString";
                            }
                }

        }
}


Clone Instance
2
Line Count
26
Source Line
1
Source File
src/NHibernate/Type/StringType.cs

using System;
using System.Data;
using NHibernate.SqlTypes;

namespace NHibernate.Type
{
        /// <summary>
        /// Maps a <see cref="System.String" /> to a <see cref="DbType.String" /> column.
        /// </summary>
        [Serializable]
        public class StringType : AbstractStringType
        {
                internal StringType() : base(new StringSqlType())
                {
                }

                internal StringType(StringSqlType sqlType) : base(sqlType)
                {
                }

                public override string Name
                {
                        get { return "String";
                            }
                }

        }
}


Clone AbstractionParameter Count: 3Parameter Bindings

using System;
using System.Data;
using NHibernate.SqlTypes;
namespace NHibernate.Type
{
   /// <summary>
   /// Maps a <see cref="System.String"/> Property 
   /// to a <see cref="DbType.AnsiString"/> column.
   /// Maps a <see cref="System.String" /> to a <see cref="DbType.String" /> column.
   /// </summary>
   [Serializable]
   public class [[#variable2a970520]]: AbstractStringType
   {
      internal [[#variable2a970520]](): base(new [[#variable2a9704c0]]())
      {
      }

      internal [[#variable2a970520]]( [[#variable2a9704c0]]sqlType): base(sqlType)
      {
      }

      /// <summary></summary>
      public override string Name
      {
         get
         {
            return [[#variable2a970460]];
         }
      }

   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2a970520]]
AnsiStringType 
12[[#2a970520]]
StringType 
21[[#2a9704c0]]
AnsiStringSqlType 
22[[#2a9704c0]]
StringSqlType 
31[[#2a970460]]
"AnsiString" 
32[[#2a970460]]
"String"