CloneSet992


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
42240.970compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1421
src/NHibernate/Driver/ASA10ClientDriver.cs
2421
src/NHibernate/Driver/ASAClientDriver.cs
Clone Instance
1
Line Count
42
Source Line
1
Source File
src/NHibernate/Driver/ASA10ClientDriver.cs

namespace NHibernate.Driver
{
        /// <summary>
        /// The ASAClientDriver Driver provides a database driver for Adaptive Server Anywhere 10.0.
        /// </summary>
        public class ASA10ClientDriver : ReflectionBasedDriver
        {
                                /// <summary>
                /// Initializes a new instance of the <see cref="ASAClientDriver"/> class.
                /// </summary>
                /// <exception cref="HibernateException">
                /// Thrown when the iAnywhere.Data.SQLAnywhere assembly is not and can not be loaded.
                /// </exception>
                public ASA10ClientDriver()
                        : base("iAnywhere.Data.SQLAnywhere", "iAnywhere.Data.SQLAnywhere.SAConnection", "iAnywhere.Data.SQLAnywhere.SACommand")
                {
                }

                /// <summary>
                /// iAnywhere.Data.SQLAnywhere uses named parameters in the sql.
                /// </summary>
                /// <value><see langword="true" /> - Sybase uses <c>String.Empty</c> in the sql.</value>
                public override bool UseNamedPrefixInSql
                {
                        get { return false;
                            }
                }

                public override bool UseNamedPrefixInParameter
                {
                        get { return false;
                            }
                }

                /// <summary>
                /// iAnywhere.Data.SQLAnywhere use the <c>string.Empty</c> to locate parameters in sql.
                /// </summary>
                public override string NamedPrefix
                {
                        get { return string.Empty;
                            }
                }

        }
}


Clone Instance
2
Line Count
42
Source Line
1
Source File
src/NHibernate/Driver/ASAClientDriver.cs

namespace NHibernate.Driver
{
        /// <summary>
        /// The ASAClientDriver Driver provides a database driver for Adaptive Server Anywhere 9.0.
        /// </summary>
        public class ASAClientDriver : ReflectionBasedDriver
        {
                /// <summary>
                /// Initializes a new instance of the <see cref="ASAClientDriver"/> class.
                /// </summary>
                /// <exception cref="HibernateException">
                /// Thrown when the ASA.Data.AsaClient assembly is not and can not be loaded.
                /// </exception>
                public ASAClientDriver()
                        : base("iAnywhere.Data.AsaClient", "iAnywhere.Data.AsaClient.AsaConnection", "iAnywhere.Data.AsaClient.AsaCommand")
                {
                }

                /// <summary>
                /// iAnywhere.Data.AsaClient uses named parameters in the sql.
                /// </summary>
                /// <value><see langword="true" /> - Sybase uses <c>String.Empty</c> in the sql.</value>
                public override bool UseNamedPrefixInSql
                {
                        get { return false;
                            }
                }

                public override bool UseNamedPrefixInParameter
                {
                        get { return false;
                            }
                }

                /// <summary>
                /// iAnywhere.Data.AsaClient use the <c>string.Empty</c> to locate parameters in sql.
                /// </summary>
                public override string NamedPrefix
                {
                        get { return string.Empty;
                            }
                }

        }
}


Clone AbstractionParameter Count: 4Parameter Bindings

namespace NHibernate.Driver
{
   /// <summary>
   /// The ASAClientDriver Driver provides a database driver for Adaptive Server Anywhere 10.0.
   /// The ASAClientDriver Driver provides a database driver for Adaptive Server Anywhere 9.0.
   /// </summary>
   public class [[#variable56b0a400]]: ReflectionBasedDriver
   {
      /// <summary>
      /// Initializes a new instance of the <see cref="ASAClientDriver"/> class.
      /// </summary>
      /// <exception cref="HibernateException">
      /// Thrown when the iAnywhere.Data.SQLAnywhere assembly is not and can not be loaded.
      /// Thrown when the ASA.Data.AsaClient assembly is not and can not be loaded.
      /// </exception>
      public [[#variable56b0a400]](): base( [[#variable56b0a3a0]], [[#variable56b0ad80]], [[#variable56b0ad00]])
      {
      }

      /// <summary>
      /// iAnywhere.Data.SQLAnywhere uses named parameters in the sql.
      /// iAnywhere.Data.AsaClient uses named parameters in the sql.
      /// </summary>
      /// <value><see langword="true" /> - Sybase uses <c>String.Empty</c> in the sql.</value>
      public override bool UseNamedPrefixInSql
      {
         get
         {
            return false;
         }
      }

      public override bool UseNamedPrefixInParameter
      {
         get
         {
            return false;
         }
      }

      /// <summary>
      /// iAnywhere.Data.SQLAnywhere use the <c>string.Empty</c> to locate parameters in sql.
      /// iAnywhere.Data.AsaClient use the <c>string.Empty</c> to locate parameters in sql.
      /// </summary>
      public override string NamedPrefix
      {
         get
         {
            return string.Empty;
         }
      }

   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56b0a400]]
ASA10ClientDriver 
12[[#56b0a400]]
ASAClientDriver 
21[[#56b0a3a0]]
"iAnywhere.Data.SQLAnywhere" 
22[[#56b0a3a0]]
"iAnywhere.Data.AsaClient" 
31[[#56b0ad80]]
"iAnywhere.Data.SQLAnywhere.SAConnection" 
32[[#56b0ad80]]
"iAnywhere.Data.AsaClient.AsaConnection" 
41[[#56b0ad00]]
"iAnywhere.Data.SQLAnywhere.SACommand" 
42[[#56b0ad00]]
"iAnywhere.Data.AsaClient.AsaCommand"