CloneSet2234


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15220.976class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1151016
src/NHibernate/Dialect/Dialect.cs
2151041
src/NHibernate/Dialect/Dialect.cs
Clone Instance
1
Line Count
15
Source Line
1016
Source File
src/NHibernate/Dialect/Dialect.cs

                /// <summary>
                /// The syntax that is used to check if a constraint does not exists before creating it
                /// </summary>
                /// <param name="table">The table.</param>
                /// <param name="name">The name.</param>
                /// <returns></returns>
                public virtual string GetIfNotExistsCreateConstraint(Table table, string name)
                {
                        return "";
                }

                /// <summary>
                /// The syntax that is used to close the if for a constraint exists check, used
                /// for dialects that requires begin/end for ifs
                /// </summary>
                /// <param name="table">The table.</param>
                /// <param name="name">The name.</param>
                /// <returns></returns>
                public virtual string GetIfNotExistsCreateConstraintEnd(Table table, string name)
                {
                        return "";
                }



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

                /// <summary>
                /// The syntax that is used to check if a constraint exists before dropping it
                /// </summary>
                /// <param name="table">The table.</param>
                /// <param name="name">The name.</param>
                /// <returns></returns>
                public virtual string GetIfExistsDropConstraint(Table table, string name)
                {
                        return "";
                }

                /// <summary>
                /// The syntax that is used to close the if for a constraint exists check, used
                /// for dialects that requires begin/end for ifs
                /// </summary>
                /// <param name="table">The table.</param>
                /// <param name="name">The name.</param>
                /// <returns></returns>
                public virtual string GetIfExistsDropConstraintEnd(Table table, string name)
                {
                        return "";
                }



Clone AbstractionParameter Count: 2Parameter Bindings

/// <summary>
/// The syntax that is used to check if a constraint does not exists before creating it
/// The syntax that is used to check if a constraint exists before dropping it
/// </summary>
/// <param name="table">The table.</param>
/// <param name="name">The name.</param>
/// <returns></returns>
public virtual string [[#variable70aeadc0]](Table table, string name)
{
   return "";
}

/// <summary>
/// The syntax that is used to close the if for a constraint exists check, used
/// for dialects that requires begin/end for ifs
/// </summary>
/// <param name="table">The table.</param>
/// <param name="name">The name.</param>
/// <returns></returns>
public virtual string [[#variable70ae8a40]](Table table, string name)
{
   return "";
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#70aeadc0]]
GetIfNotExistsCreateConstraint 
12[[#70aeadc0]]
GetIfExistsDropConstraint 
21[[#70ae8a40]]
GetIfNotExistsCreateConstraintEnd 
22[[#70ae8a40]]
GetIfExistsDropConstraintEnd