CloneSet1115


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

                /// <summary>
                /// Gets or sets the name of the column in the database.
                /// </summary>
                /// <value>
                /// The name of the column in the database.  The get does 
                /// not return a Quoted column name.
                /// </value>
                /// <remarks>
                /// <p>
                /// If a value is passed in that is wrapped by <c>`</c> then 
                /// NHibernate will Quote the column whenever SQL is generated
                /// for it.  How the column is quoted depends on the Dialect.
                /// </p>
                /// <p>
                /// The value returned by the getter is not Quoted.  To get the
                /// column name in quoted form use <see cref="GetQuotedName(Dialect.Dialect)"/>.
                /// </p>
                /// </remarks>
                public string Name
                {
                        get { return name;
                            }
                        set
                        {
                                if (value[0] == '`')
                                {
                                        quoted = true;
                                        name = value.Substring(1, value.Length - 2);
                                }
                                else
                                {
                                        name = value;
                                }
                        }
                }



Clone Instance
2
Line Count
13
Source Line
78
Source File
src/NHibernate/Mapping/Table.cs

                /// <summary>
                /// Gets or sets the name of the Table in the database.
                /// </summary>
                /// <value>
                /// The name of the Table in the database.  The get does 
                /// not return a Quoted Table name.
                /// </value>
                /// <remarks>
                /// <p>
                /// If a value is passed in that is wrapped by <c>`</c> then 
                /// NHibernate will Quote the Table whenever SQL is generated
                /// for it.  How the Table is quoted depends on the Dialect.
                /// </p>
                /// <p>
                /// The value returned by the getter is not Quoted.  To get the
                /// column name in quoted form use <see cref="GetQuotedName(Dialect.Dialect)"/>.
                /// </p>
                /// </remarks>
                public string Name
                {
                        get { return name;
                            }
                        set
                        {
                                if (value[0] == '`')
                                {
                                        quoted = true;
                                        name = value.Substring(1, value.Length - 2);
                                }
                                else
                                {
                                        name = value;
                                }
                        }
                }



Clone AbstractionParameter Count: 0Parameter Bindings

/// <summary>
/// Gets or sets the name of the column in the database.
/// Gets or sets the name of the Table in the database.
/// </summary>
/// <value>
/// The name of the column in the database.  The get does 
/// not return a Quoted column name.
/// The name of the Table in the database.  The get does 
/// not return a Quoted Table name.
/// </value>
/// <remarks>
/// <p>
/// If a value is passed in that is wrapped by <c>`</c> then 
/// NHibernate will Quote the column whenever SQL is generated
/// for it.  How the column is quoted depends on the Dialect.
/// NHibernate will Quote the Table whenever SQL is generated
/// for it.  How the Table is quoted depends on the Dialect.
/// </p>
/// <p>
/// The value returned by the getter is not Quoted.  To get the
/// column name in quoted form use <see cref="GetQuotedName(Dialect.Dialect)"/>.
/// </p>
/// </remarks>
public string Name
{
   get
   {
      return name;
   }
   set
   {
      if (value[0] == '`')
      {
         quoted = true;
         name = value.Substring(1, value.Length - 2);
      }
      else
      {
         name = value;
      }
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None