CloneSet2328


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.963class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13113
src/NHibernate/Mapping/Column.cs
23503
src/NHibernate/Mapping/Table.cs
Clone Instance
1
Line Count
3
Source Line
113
Source File
src/NHibernate/Mapping/Column.cs

                /// <summary>
                /// Gets the name of this Column in quoted form if it is necessary.
                /// </summary>
                /// <param name="d">
                /// The <see cref="Dialect.Dialect"/> that knows how to quote
                /// the column name.
                /// </param>
                /// <returns>
                /// The column name in a form that is safe to use inside of a SQL statement.
                /// Quoted if it needs to be, not quoted if it does not need to be.
                /// </returns>
                public string GetQuotedName(Dialect.Dialect d)
                {
                        return IsQuoted ? d.QuoteForColumnName(name):  name;
                }



Clone Instance
2
Line Count
3
Source Line
503
Source File
src/NHibernate/Mapping/Table.cs

                /// <summary>
                /// Gets the name of this Table in quoted form if it is necessary.
                /// </summary>
                /// <param name="dialect">
                /// The <see cref="Dialect.Dialect"/> that knows how to quote the Table name.
                /// </param>
                /// <returns>
                /// The Table name in a form that is safe to use inside of a SQL statement.
                /// Quoted if it needs to be, not quoted if it does not need to be.
                /// </returns>
                public string GetQuotedName(Dialect.Dialect dialect)
                {
                        return IsQuoted ? dialect.QuoteForTableName(name):  name;
                }



Clone AbstractionParameter Count: 2Parameter Bindings

/// <summary>
/// Gets the name of this Column in quoted form if it is necessary.
/// Gets the name of this Table in quoted form if it is necessary.
/// </summary>
/// <param name="d">
/// The <see cref="Dialect.Dialect"/> that knows how to quote
/// the column name.
/// <param name="dialect">
/// The <see cref="Dialect.Dialect"/> that knows how to quote the Table name.
/// </param>
/// <returns>
/// The column name in a form that is safe to use inside of a SQL statement.
/// The Table name in a form that is safe to use inside of a SQL statement.
/// Quoted if it needs to be, not quoted if it does not need to be.
/// </returns>
public string GetQuotedName(Dialect.Dialect [[#variable6fd57d40]])
{
   return IsQuoted ?
           [[#variable6fd57d40]]. [[#variable6fd57cc0]](name): name;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6fd57d40]]
d 
12[[#6fd57d40]]
dialect 
21[[#6fd57cc0]]
QuoteForColumnName 
22[[#6fd57cc0]]
QuoteForTableName