CloneSet1229


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
26250.951compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1261
src/NHibernate/Type/BinaryBlobType.cs
2371
src/NHibernate/Type/StringClobType.cs
Clone Instance
1
Line Count
26
Source Line
1
Source File
src/NHibernate/Type/BinaryBlobType.cs

using System;
using NHibernate.SqlTypes;

namespace NHibernate.Type
{
        /// <summary>
        ///     Maps a System.Byte[] Property to an column that can store a BLOB.
        /// </summary>
        /// <remarks>
        /// This is only needed by DataProviders (SqlClient) that need to specify a Size for the
        /// IDbDataParameter.  Most DataProvider(Oralce) don't need to set the Size so a BinaryType
        /// would work just fine.
        /// </remarks>
        [Serializable]
        public class BinaryBlobType : BinaryType
        {
                internal BinaryBlobType(): base(new BinaryBlobSqlType()) {
                                                                         }

                internal BinaryBlobType(BinarySqlType sqlType) : base(sqlType) {
                                                                               }

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

        }
}


Clone Instance
2
Line Count
37
Source Line
1
Source File
src/NHibernate/Type/StringClobType.cs

using System;
using NHibernate.SqlTypes;

namespace NHibernate.Type
{
        /// <summary>
        ///     Maps a <see cref="System.String" /> Property to an 
        ///     <see cref="System.String" /> column that can store a CLOB.
        /// </summary>
        /// <remarks>
        /// This is only needed by DataProviders (SqlClient) that need to specify a Size for the
        /// IDbDataParameter.  Most DataProvider(Oralce) don't need to set the Size so a StringType
        /// would work just fine.
        /// </remarks>
        [Serializable]
        public class StringClobType : StringType
        {
                /// <summary></summary>
                internal StringClobType() : base(new StringClobSqlType())
                {
                }

                /// <summary>
                /// 
                /// </summary>
                /// <param name="sqlType"></param>
                internal StringClobType(StringSqlType sqlType) : base(sqlType)
                {
                }

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

        }
}


Clone AbstractionParameter Count: 5Parameter Bindings

using System;
using NHibernate.SqlTypes;
namespace NHibernate.Type
{
   /// <summary>
   ///     Maps a System.Byte[] Property to an column that can store a BLOB.
   ///     Maps a <see cref="System.String" /> Property to an 
   ///     <see cref="System.String" /> column that can store a CLOB.
   /// </summary>
   /// <remarks>
   /// This is only needed by DataProviders (SqlClient) that need to specify a Size for the
   /// IDbDataParameter.  Most DataProvider(Oralce) don't need to set the Size so a BinaryType
   /// IDbDataParameter.  Most DataProvider(Oralce) don't need to set the Size so a StringType
   /// would work just fine.
   /// </remarks>
   [Serializable]
   public class [[#variable665b3d00]]: [[#variable665b3c40]]
   {
      /// <summary></summary>
      internal [[#variable665b3d00]](): base(new [[#variable665b3be0]]())
      {
      }

      /// <summary>
      /// 
      /// </summary>
      /// <param name="sqlType"></param>
      internal [[#variable665b3d00]]( [[#variable665b3b60]]sqlType): base(sqlType)
      {
      }

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

   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#665b3d00]]
BinaryBlobType 
12[[#665b3d00]]
StringClobType 
21[[#665b3c40]]
BinaryType 
22[[#665b3c40]]
StringType 
31[[#665b3be0]]
BinaryBlobSqlType 
32[[#665b3be0]]
StringClobSqlType 
41[[#665b3b60]]
BinarySqlType 
42[[#665b3b60]]
StringSqlType 
51[[#665b3a60]]
"BinaryBlob" 
52[[#665b3a60]]
"StringClob"