CloneSet995


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
33260.958class_member_declarations[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
133131
src/NHibernate/Dialect/DB2Dialect.cs
233111
src/NHibernate/Dialect/MySQLDialect.cs
Clone Instance
1
Line Count
33
Source Line
131
Source File
src/NHibernate/Dialect/DB2Dialect.cs

                /// <summary></summary>
                public override string AddColumnString
                {
                        get { return "add column";
                            }
                }

                /// <summary></summary>
                public override bool DropConstraints
                {
                        get { return false;
                            }
                }

                /// <summary></summary>
                public override bool SupportsIdentityColumns
                {
                        get { return true;
                            }
                }

                /// <summary></summary>
                public override string IdentitySelectString
                {
                        get { return "select identity_val_local() from sysibm.sysdummy1";
                            }
                }

                /// <summary></summary>
                public override string IdentityColumnString
                {
                        get { return "not null generated by default as identity";
                            }
                }

                /// <summary></summary>
                public override string IdentityInsertString
                {
                        get { return "default";
                            }
                }



Clone Instance
2
Line Count
33
Source Line
111
Source File
src/NHibernate/Dialect/MySQLDialect.cs

                /// <summary></summary>
                public override string AddColumnString
                {
                        get { return "add column";
                            }
                }

                /// <summary></summary>
                public override bool QualifyIndexName
                {
                        get { return false;
                            }
                }

                /// <summary></summary>
                public override bool SupportsIdentityColumns
                {
                        get { return true;
                            }
                }

                /// <summary></summary>
                public override string IdentitySelectString
                {
                        get { return "SELECT LAST_INSERT_ID()";
                            }
                }

                /// <summary></summary>
                public override string IdentityColumnString
                {
                        get { return "NOT NULL AUTO_INCREMENT";
                            }
                }

                /// <summary></summary>
                public override char CloseQuote
                {
                        get { return '`';
                            }
                }



Clone AbstractionParameter Count: 6Parameter Bindings

/// <summary></summary>
public override string AddColumnString
{
   get
   {
      return "add column";
   }
}

/// <summary></summary>
public override bool [[#variable56b0afa0]]
{
   get
   {
      return false;
   }
}

/// <summary></summary>
public override bool SupportsIdentityColumns
{
   get
   {
      return true;
   }
}

/// <summary></summary>
public override string IdentitySelectString
{
   get
   {
      return [[#variable5f4e0380]];
   }
}

/// <summary></summary>
public override string IdentityColumnString
{
   get
   {
      return [[#variable56f86d80]];
   }
}

/// <summary></summary>
public override [[#variable563ca300]] [[#variable56b0af80]]
{
   get
   {
      return [[#variable563ca200]];
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56b0afa0]]
DropConstraints 
12[[#56b0afa0]]
QualifyIndexName 
21[[#5f4e0380]]
"select identity_val_local() from sysibm.sysdummy1" 
22[[#5f4e0380]]
"SELECT LAST_INSERT_ID()" 
31[[#56f86d80]]
"not null generated by default as identity" 
32[[#56f86d80]]
"NOT NULL AUTO_INCREMENT" 
41[[#563ca300]]
string 
42[[#563ca300]]
char 
51[[#56b0af80]]
IdentityInsertString 
52[[#56b0af80]]
CloseQuote 
61[[#563ca200]]
"default" 
62[[#563ca200]]
'`'