| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 105 | 2 | 1 | 0.958 | interface_member_declarations[14] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 105 | 152 | src/NHibernate/IDetachedQuery.cs |
| 2 | 105 | 318 | src/NHibernate/IQuery.cs |
| ||||
/// <summary>
/// Bind an instance of a <see cref="byte" /> array to an indexed parameter
/// using an NHibernate <see cref="BinaryType"/>.
/// </summary>
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
/// <param name="val">A non-null instance of a <see cref="byte"/> array.</param>
IDetachedQuery SetBinary(int position, byte[] val);
/// <summary>
/// Bind an instance of a <see cref="byte" /> array to a named parameter
/// using an NHibernate <see cref="BinaryType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="byte"/> array.</param>
IDetachedQuery SetBinary(string name, byte[] val);
/// <summary>
/// Bind an instance of a <see cref="bool" /> to an indexed parameter
/// using an NHibernate <see cref="BooleanType"/>.
/// </summary>
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
/// <param name="val">A non-null instance of a <see cref="bool"/>.</param>
IDetachedQuery SetBoolean(int position, bool val);
/// <summary>
/// Bind an instance of a <see cref="bool" /> to a named parameter
/// using an NHibernate <see cref="BooleanType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="bool"/>.</param>
IDetachedQuery SetBoolean(string name, bool val);
/// <summary>
/// Bind an instance of a <see cref="byte" /> to an indexed parameter
/// using an NHibernate <see cref="ByteType"/>.
/// </summary>
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
/// <param name="val">A non-null instance of a <see cref="byte"/>.</param>
IDetachedQuery SetByte(int position, byte val);
/// <summary>
/// Bind an instance of a <see cref="byte" /> to a named parameter
/// using an NHibernate <see cref="ByteType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="byte"/>.</param>
IDetachedQuery SetByte(string name, byte val);
/// <summary>
/// Bind an instance of a <see cref="char" /> to an indexed parameter
/// using an NHibernate <see cref="CharType"/>.
/// </summary>
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
/// <param name="val">A non-null instance of a <see cref="char"/>.</param>
IDetachedQuery SetCharacter(int position, char val);
/// <summary>
/// Bind an instance of a <see cref="char" /> to a named parameter
/// using an NHibernate <see cref="CharType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="char"/>.</param>
IDetachedQuery SetCharacter(string name, char val);
/// <summary>
/// Bind an instance of a <see cref="DateTime" /> to an indexed parameter
/// using an NHibernate <see cref="DateTimeType"/>.
/// </summary>
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
/// <param name="val">A non-null instance of a <see cref="DateTime"/>.</param>
IDetachedQuery SetDateTime(int position, DateTime val);
/// <summary>
/// Bind an instance of a <see cref="DateTime" /> to a named parameter
/// using an NHibernate <see cref="DateTimeType"/>.
/// </summary>
/// <param name="val">A non-null instance of a <see cref="DateTime"/>.</param>
/// <param name="name">The name of the parameter</param>
IDetachedQuery SetDateTime(string name, DateTime val);
/// <summary>
/// Bind an instance of a <see cref="Decimal" /> to an indexed parameter
/// using an NHibernate <see cref="DecimalType"/>.
/// </summary>
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
/// <param name="val">A non-null instance of a <see cref="Decimal"/>.</param>
IDetachedQuery SetDecimal(int position, decimal val);
/// <summary>
/// Bind an instance of a <see cref="Decimal" /> to a named parameter
/// using an NHibernate <see cref="DecimalType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="Decimal"/>.</param>
IDetachedQuery SetDecimal(string name, decimal val);
/// <summary>
/// Bind an instance of a <see cref="Double" /> to an indexed parameter
/// using an NHibernate <see cref="DoubleType"/>.
/// </summary>
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
/// <param name="val">A non-null instance of a <see cref="Double"/>.</param>
IDetachedQuery SetDouble(int position, double val);
/// <summary>
/// Bind an instance of a <see cref="Double" /> to a named parameter
/// using an NHibernate <see cref="DoubleType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="Double"/>.</param>
IDetachedQuery SetDouble(string name, double val);
|
| ||||
/// <summary>
/// Bind an instance of a <see cref="Byte" /> array to an indexed parameter
/// using an NHibernate <see cref="BinaryType"/>.
/// </summary>
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
/// <param name="val">A non-null instance of a <see cref="Byte"/> array.</param>
IQuery SetBinary(int position, byte[] val);
/// <summary>
/// Bind an instance of a <see cref="Byte" /> array to a named parameter
/// using an NHibernate <see cref="BinaryType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="Byte"/> array.</param>
IQuery SetBinary(string name, byte[] val);
/// <summary>
/// Bind an instance of a <see cref="Boolean" /> to an indexed parameter
/// using an NHibernate <see cref="BooleanType"/>.
/// </summary>
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
/// <param name="val">A non-null instance of a <see cref="Boolean"/>.</param>
IQuery SetBoolean(int position, bool val);
/// <summary>
/// Bind an instance of a <see cref="Boolean" /> to a named parameter
/// using an NHibernate <see cref="BooleanType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="Boolean"/>.</param>
IQuery SetBoolean(string name, bool val);
/// <summary>
/// Bind an instance of a <see cref="Byte" /> to an indexed parameter
/// using an NHibernate <see cref="ByteType"/>.
/// </summary>
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
/// <param name="val">A non-null instance of a <see cref="Byte"/>.</param>
IQuery SetByte(int position, byte val);
/// <summary>
/// Bind an instance of a <see cref="Byte" /> to a named parameter
/// using an NHibernate <see cref="ByteType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="Byte"/>.</param>
IQuery SetByte(string name, byte val);
/// <summary>
/// Bind an instance of a <see cref="Char" /> to an indexed parameter
/// using an NHibernate <see cref="CharType"/>.
/// </summary>
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
/// <param name="val">A non-null instance of a <see cref="Char"/>.</param>
IQuery SetCharacter(int position, char val);
/// <summary>
/// Bind an instance of a <see cref="Char" /> to a named parameter
/// using an NHibernate <see cref="CharType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="Char"/>.</param>
IQuery SetCharacter(string name, char val);
/// <summary>
/// Bind an instance of a <see cref="DateTime" /> to an indexed parameter
/// using an NHibernate <see cref="DateTimeType"/>.
/// </summary>
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
/// <param name="val">A non-null instance of a <see cref="DateTime"/>.</param>
IQuery SetDateTime(int position, DateTime val);
/// <summary>
/// Bind an instance of a <see cref="DateTime" /> to a named parameter
/// using an NHibernate <see cref="DateTimeType"/>.
/// </summary>
/// <param name="val">A non-null instance of a <see cref="DateTime"/>.</param>
/// <param name="name">The name of the parameter</param>
IQuery SetDateTime(string name, DateTime val);
/// <summary>
/// Bind an instance of a <see cref="Decimal" /> to an indexed parameter
/// using an NHibernate <see cref="DecimalType"/>.
/// </summary>
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
/// <param name="val">A non-null instance of a <see cref="Decimal"/>.</param>
IQuery SetDecimal(int position, decimal val);
/// <summary>
/// Bind an instance of a <see cref="Decimal" /> to a named parameter
/// using an NHibernate <see cref="DecimalType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="Decimal"/>.</param>
IQuery SetDecimal(string name, decimal val);
/// <summary>
/// Bind an instance of a <see cref="Double" /> to an indexed parameter
/// using an NHibernate <see cref="DoubleType"/>.
/// </summary>
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
/// <param name="val">A non-null instance of a <see cref="Double"/>.</param>
IQuery SetDouble(int position, double val);
/// <summary>
/// Bind an instance of a <see cref="Double" /> to a named parameter
/// using an NHibernate <see cref="DoubleType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="Double"/>.</param>
IQuery SetDouble(string name, double val);
|
| |||
[[#variable70852de0]]SetBinary(int position, byte[] val); [[#variable70852de0]]SetBinary(string name, byte[] val); [[#variable70852de0]]SetBoolean(int position, bool val); [[#variable70852de0]]SetBoolean(string name, bool val); [[#variable70852de0]]SetByte(int position, byte val); [[#variable70852de0]]SetByte(string name, byte val); [[#variable70852de0]]SetCharacter(int position, char val); [[#variable70852de0]]SetCharacter(string name, char val); [[#variable70852de0]]SetDateTime(int position, DateTime val); [[#variable70852de0]]SetDateTime(string name, DateTime val); [[#variable70852de0]]SetDecimal(int position, decimal val); [[#variable70852de0]]SetDecimal(string name, decimal val); [[#variable70852de0]]SetDouble(int position, double val); [[#variable70852de0]]SetDouble(string name, double val); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#70852de0]] | /// <summary> /// Bind an instance of a <see cref="byte" /> array to an indexed parameter /// using an NHibernate <see cref="BinaryType"/>. /// </summary> /// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param> /// <param name="val">A non-null instance of a <see cref="byte"/> array.</param> IDetachedQuery |
| 1 | 2 | [[#70852de0]] | /// <summary> /// Bind an instance of a <see cref="Byte" /> array to an indexed parameter /// using an NHibernate <see cref="BinaryType"/>. /// </summary> /// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param> /// <param name="val">A non-null instance of a <see cref="Byte"/> array.</param> IQuery |