| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 137 | 2 | 1 | 0.958 | interface_member_declarations[18] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 137 | 278 | src/NHibernate/IDetachedQuery.cs |
| 2 | 137 | 430 | src/NHibernate/IQuery.cs |
| ||||
/// <summary>
/// Bind an instance of a persistent enumeration class to an indexed parameter
/// using an NHibernate <see cref="PersistentEnumType"/>.
/// </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 persistent enumeration</param>
IDetachedQuery SetEnum(int position, Enum val);
/// <summary>
/// Bind an instance of a persistent enumeration class to a named parameter
/// using an NHibernate <see cref="PersistentEnumType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a persistent enumeration</param>
IDetachedQuery SetEnum(string name, Enum val);
/// <summary>
/// Bind an instance of a <see cref="Int16" /> to an indexed parameter
/// using an NHibernate <see cref="Int16Type"/>.
/// </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="Int16"/>.</param>
IDetachedQuery SetInt16(int position, short val);
/// <summary>
/// Bind an instance of a <see cref="Int16" /> to a named parameter
/// using an NHibernate <see cref="Int16Type"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="Int16"/>.</param>
IDetachedQuery SetInt16(string name, short val);
/// <summary>
/// Bind an instance of a <see cref="Int32" /> to an indexed parameter
/// using an NHibernate <see cref="Int32Type"/>.
/// </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="Int32"/>.</param>
IDetachedQuery SetInt32(int position, int val);
/// <summary>
/// Bind an instance of a <see cref="Int32" /> to a named parameter
/// using an NHibernate <see cref="Int32Type"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="Int32"/>.</param>
IDetachedQuery SetInt32(string name, int val);
/// <summary>
/// Bind an instance of a <see cref="Int64" /> to an indexed parameter
/// using an NHibernate <see cref="Int64Type"/>.
/// </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="Int64"/>.</param>
IDetachedQuery SetInt64(int position, long val);
/// <summary>
/// Bind an instance of a <see cref="Int64" /> to a named parameter
/// using an NHibernate <see cref="Int64Type"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="Int64"/>.</param>
IDetachedQuery SetInt64(string name, long val);
/// <summary>
/// Bind an instance of a <see cref="Single" /> to an indexed parameter
/// using an NHibernate <see cref="SingleType"/>.
/// </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="Single"/>.</param>
IDetachedQuery SetSingle(int position, float val);
/// <summary>
/// Bind an instance of a <see cref="Single" /> to a named parameter
/// using an NHibernate <see cref="SingleType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="Single"/>.</param>
IDetachedQuery SetSingle(string name, float val);
/// <summary>
/// Bind an instance of a <see cref="String" /> to an indexed parameter
/// using an NHibernate <see cref="StringType"/>.
/// </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="String"/>.</param>
IDetachedQuery SetString(int position, string val);
/// <summary>
/// Bind an instance of a <see cref="String" /> to a named parameter
/// using an NHibernate <see cref="StringType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="String"/>.</param>
IDetachedQuery SetString(string name, string 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 SetTime(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="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="DateTime"/>.</param>
IDetachedQuery SetTime(string name, DateTime val);
/// <summary>
/// Bind an instance of a <see cref="DateTime" /> to an indexed parameter
/// using an NHibernate <see cref="TimestampType"/>.
/// </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 SetTimestamp(int position, DateTime val);
/// <summary>
/// Bind an instance of a <see cref="DateTime" /> to a named parameter
/// using an NHibernate <see cref="TimestampType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="DateTime"/>.</param>
IDetachedQuery SetTimestamp(string name, DateTime val);
/// <summary>
/// Bind an instance of a <see cref="Guid" /> to a named parameter
/// using an NHibernate <see cref="GuidType"/>.
/// </summary>
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
/// <param name="val">An instance of a <see cref="Guid"/>.</param>
IDetachedQuery SetGuid(int position, Guid val);
/// <summary>
/// Bind an instance of a <see cref="Guid" /> to a named parameter
/// using an NHibernate <see cref="GuidType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">An instance of a <see cref="Guid"/>.</param>
IDetachedQuery SetGuid(string name, Guid val);
|
| ||||
/// <summary>
/// Bind an instance of a persistent enumeration class to an indexed parameter
/// using an NHibernate <see cref="PersistentEnumType"/>.
/// </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 persistent enumeration</param>
IQuery SetEnum(int position, Enum val);
/// <summary>
/// Bind an instance of a persistent enumeration class to a named parameter
/// using an NHibernate <see cref="PersistentEnumType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a persistent enumeration</param>
IQuery SetEnum(string name, Enum val);
/// <summary>
/// Bind an instance of a <see cref="Int16" /> to an indexed parameter
/// using an NHibernate <see cref="Int16Type"/>.
/// </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="Int16"/>.</param>
IQuery SetInt16(int position, short val);
/// <summary>
/// Bind an instance of a <see cref="Int16" /> to a named parameter
/// using an NHibernate <see cref="Int16Type"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="Int16"/>.</param>
IQuery SetInt16(string name, short val);
/// <summary>
/// Bind an instance of a <see cref="Int32" /> to an indexed parameter
/// using an NHibernate <see cref="Int32Type"/>.
/// </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="Int32"/>.</param>
IQuery SetInt32(int position, int val);
/// <summary>
/// Bind an instance of a <see cref="Int32" /> to a named parameter
/// using an NHibernate <see cref="Int32Type"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="Int32"/>.</param>
IQuery SetInt32(string name, int val);
/// <summary>
/// Bind an instance of a <see cref="Int64" /> to an indexed parameter
/// using an NHibernate <see cref="Int64Type"/>.
/// </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="Int64"/>.</param>
IQuery SetInt64(int position, long val);
/// <summary>
/// Bind an instance of a <see cref="Int64" /> to a named parameter
/// using an NHibernate <see cref="Int64Type"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="Int64"/>.</param>
IQuery SetInt64(string name, long val);
/// <summary>
/// Bind an instance of a <see cref="Single" /> to an indexed parameter
/// using an NHibernate <see cref="SingleType"/>.
/// </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="Single"/>.</param>
IQuery SetSingle(int position, float val);
/// <summary>
/// Bind an instance of a <see cref="Single" /> to a named parameter
/// using an NHibernate <see cref="SingleType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="Single"/>.</param>
IQuery SetSingle(string name, float val);
/// <summary>
/// Bind an instance of a <see cref="String" /> to an indexed parameter
/// using an NHibernate <see cref="StringType"/>.
/// </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="String"/>.</param>
IQuery SetString(int position, string val);
/// <summary>
/// Bind an instance of a <see cref="String" /> to a named parameter
/// using an NHibernate <see cref="StringType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="String"/>.</param>
IQuery SetString(string name, string 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 SetTime(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="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="DateTime"/>.</param>
IQuery SetTime(string name, DateTime val);
/// <summary>
/// Bind an instance of a <see cref="DateTime" /> to an indexed parameter
/// using an NHibernate <see cref="TimestampType"/>.
/// </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 SetTimestamp(int position, DateTime val);
/// <summary>
/// Bind an instance of a <see cref="DateTime" /> to a named parameter
/// using an NHibernate <see cref="TimestampType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">A non-null instance of a <see cref="DateTime"/>.</param>
IQuery SetTimestamp(string name, DateTime val);
/// <summary>
/// Bind an instance of a <see cref="Guid" /> to a named parameter
/// using an NHibernate <see cref="GuidType"/>.
/// </summary>
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
/// <param name="val">An instance of a <see cref="Guid"/>.</param>
IQuery SetGuid(int position, Guid val);
/// <summary>
/// Bind an instance of a <see cref="Guid" /> to a named parameter
/// using an NHibernate <see cref="GuidType"/>.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">An instance of a <see cref="Guid"/>.</param>
IQuery SetGuid(string name, Guid val);
|
| |||
[[#variable28605ae0]]SetEnum(int position, Enum val); [[#variable28605ae0]]SetEnum(string name, Enum val); [[#variable28605ae0]]SetInt16(int position, short val); [[#variable28605ae0]]SetInt16(string name, short val); [[#variable28605ae0]]SetInt32(int position, int val); [[#variable28605ae0]]SetInt32(string name, int val); [[#variable28605ae0]]SetInt64(int position, long val); [[#variable28605ae0]]SetInt64(string name, long val); [[#variable28605ae0]]SetSingle(int position, float val); [[#variable28605ae0]]SetSingle(string name, float val); [[#variable28605ae0]]SetString(int position, string val); [[#variable28605ae0]]SetString(string name, string val); [[#variable28605ae0]]SetTime(int position, DateTime val); [[#variable28605ae0]]SetTime(string name, DateTime val); [[#variable28605ae0]]SetTimestamp(int position, DateTime val); [[#variable28605ae0]]SetTimestamp(string name, DateTime val); [[#variable28605ae0]]SetGuid(int position, Guid val); [[#variable28605ae0]]SetGuid(string name, Guid val); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#28605ae0]] | /// <summary> /// Bind an instance of a persistent enumeration class to an indexed parameter /// using an NHibernate <see cref="PersistentEnumType"/>. /// </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 persistent enumeration</param> IDetachedQuery |
| 1 | 2 | [[#28605ae0]] | /// <summary> /// Bind an instance of a persistent enumeration class to an indexed parameter /// using an NHibernate <see cref="PersistentEnumType"/>. /// </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 persistent enumeration</param> IQuery |