CloneSet2009


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15230.968class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115231
src/NHibernate/Dialect/Dialect.cs
2152089
src/NHibernate/Dialect/Dialect.cs
Clone Instance
1
Line Count
15
Source Line
231
Source File
src/NHibernate/Dialect/Dialect.cs

                /// <summary> 
                /// The class (which implements <see cref="NHibernate.Id.IIdentifierGenerator"/>)
                /// which acts as this dialects native generation strategy.
                /// </summary>
                /// <returns> The native generator class. </returns>
                /// <remarks>
                /// Comes into play whenever the user specifies the native generator.
                /// </remarks>
                public virtual System.Type NativeIdentifierGeneratorClass
                {
                        get
                        {
                                if (SupportsIdentityColumns)
                                {
                                        return typeof(IdentityGenerator);
                                }
                                else if (SupportsSequences)
                                {
                                        return typeof(SequenceGenerator);
                                }
                                     else
                                {
                                        return typeof(TableHiLoGenerator);
                                }
                        }
                }



Clone Instance
2
Line Count
15
Source Line
2089
Source File
src/NHibernate/Dialect/Dialect.cs

                /// <summary> 
                /// The class (which implements <see cref="NHibernate.Id.IIdentifierGenerator"/>)
                /// which acts as this dialects identity-style generation strategy.
                /// </summary>
                /// <returns> The native generator class. </returns>
                /// <remarks>
                /// Comes into play whenever the user specifies the "identity" generator.
                /// </remarks>
                public virtual System.Type IdentityStyleIdentifierGeneratorClass
                {
                        get
                        {
                                if (SupportsIdentityColumns)
                                {
                                        return typeof(IdentityGenerator);
                                }
                                else if (SupportsSequences)
                                {
                                        return typeof(SequenceIdentityGenerator);
                                }
                                     else
                                {
                                        return typeof(TriggerIdentityGenerator);
                                }
                        }
                }



Clone AbstractionParameter Count: 3Parameter Bindings

/// <summary> 
/// The class (which implements <see cref="NHibernate.Id.IIdentifierGenerator"/>)
/// which acts as this dialects identity-style generation strategy.
/// which acts as this dialects native generation strategy.
/// </summary>
/// <returns> The native generator class. </returns>
/// <remarks>
/// Comes into play whenever the user specifies the "identity" generator.
/// Comes into play whenever the user specifies the native generator.
/// </remarks>
public virtual System.Type [[#variable6ff4e8c0]]
{
   get
   {
      if (SupportsIdentityColumns)
      {
         return typeof(IdentityGenerator);
      }
      else
      if (SupportsSequences)
      {
         return typeof( [[#variable6ff4e860]]);
      }
      else
      {
         return typeof( [[#variable6ff4e7c0]]);
      }
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6ff4e8c0]]
IdentityStyleIdentifierGeneratorClass 
12[[#6ff4e8c0]]
NativeIdentifierGeneratorClass 
21[[#6ff4e860]]
SequenceIdentityGenerator 
22[[#6ff4e860]]
SequenceGenerator 
31[[#6ff4e7c0]]
TriggerIdentityGenerator 
32[[#6ff4e7c0]]
TableHiLoGenerator