CloneSet1527


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
22230.967compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1221
src/NHibernate/Type/AnsiCharType.cs
2221
src/NHibernate/Type/CharType.cs
Clone Instance
1
Line Count
22
Source Line
1
Source File
src/NHibernate/Type/AnsiCharType.cs

using System;
using NHibernate.SqlTypes;

namespace NHibernate.Type
{
        /// <summary>
        /// Maps a <see cref="System.Char"/> Property 
        /// to a <c>DbType.AnsiStringFixedLength</c> column.
        /// </summary>
        [Serializable]
        public class AnsiCharType : AbstractCharType
        {
                internal AnsiCharType() : base(new AnsiStringFixedLengthSqlType(1))
                {
                }

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

        }
}


Clone Instance
2
Line Count
22
Source Line
1
Source File
src/NHibernate/Type/CharType.cs

using System;
using NHibernate.SqlTypes;

namespace NHibernate.Type
{
        /// <summary>
        /// Maps a <see cref="System.Char"/> Property 
        /// to a <c>DbType.StringFixedLength</c> column.
        /// </summary>
        [Serializable]
        public class CharType : AbstractCharType
        {
                internal CharType() : base(new StringFixedLengthSqlType(1))
                {
                }

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

        }
}


Clone AbstractionParameter Count: 3Parameter Bindings

using System;
using NHibernate.SqlTypes;
namespace NHibernate.Type
{
   /// <summary>
   /// Maps a <see cref="System.Char"/> Property 
   /// to a <c>DbType.AnsiStringFixedLength</c> column.
   /// to a <c>DbType.StringFixedLength</c> column.
   /// </summary>
   [Serializable]
   public class [[#variable298b3ec0]]: AbstractCharType
   {
      internal [[#variable298b3ec0]](): base(new [[#variable298b3da0]](1))
      {
      }

      public override string Name
      {
         get
         {
            return [[#variable298b3d20]];
         }
      }

   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#298b3ec0]]
AnsiCharType 
12[[#298b3ec0]]
CharType 
21[[#298b3da0]]
AnsiStringFixedLengthSqlType 
22[[#298b3da0]]
StringFixedLengthSqlType 
31[[#298b3d20]]
"AnsiChar" 
32[[#298b3d20]]
"Char"