CloneSet1491


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19310.963interface_member_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119102
src/NHibernate/IDetachedQuery.cs
219145
src/NHibernate/IMultiQuery.cs
319249
src/NHibernate/IQuery.cs
Clone Instance
1
Line Count
19
Source Line
102
Source File
src/NHibernate/IDetachedQuery.cs

                /// <summary>
                /// Bind a value to a named query parameter, guessing the NHibernate <see cref="IType"/>
                /// from the class of the given object.
                /// </summary>
                /// <param name="name">The name of the parameter</param>
                /// <param name="val">The non-null parameter value</param>
                IDetachedQuery SetParameter(string name, object val);

                /// <summary>
                /// Bind multiple values to a named query parameter. This is useful for binding a list
                /// of values to an expression such as <c>foo.bar in (:value_list)</c>
                /// </summary>
                /// <param name="name">The name of the parameter</param>
                /// <param name="vals">A collection of values to list</param>
                /// <param name="type">The Hibernate type of the values</param>
                IDetachedQuery SetParameterList(string name, ICollection vals, IType type);

                /// <summary>
                /// Bind multiple values to a named query parameter, guessing the Hibernate
                /// type from the class of the first object in the collection. This is useful for binding a list
                /// of values to an expression such as <c>foo.bar in (:value_list)</c>
                /// </summary>
                /// <param name="name">The name of the parameter</param>
                /// <param name="vals">A collection of values to list</param>
                IDetachedQuery SetParameterList(string name, ICollection vals);


Clone Instance
2
Line Count
19
Source Line
145
Source File
src/NHibernate/IMultiQuery.cs

                /// <summary>
                /// Bind a value to a named query parameter, guessing the NHibernate <see cref="IType"/>
                /// from the class of the given object.
                /// </summary>
                /// <param name="name">The name of the parameter</param>
                /// <param name="val">The non-null parameter value</param>
                IMultiQuery SetParameter(string name, object val);

                /// <summary>
                /// Bind multiple values to a named query parameter. This is useful for binding a list
                /// of values to an expression such as <c>foo.bar in (:value_list)</c>
                /// </summary>
                /// <param name="name">The name of the parameter</param>
                /// <param name="vals">A collection of values to list</param>
                /// <param name="type">The Hibernate type of the values</param>
                IMultiQuery SetParameterList(string name, ICollection vals, IType type);

                /// <summary>
                /// Bind multiple values to a named query parameter, guessing the Hibernate
                /// type from the class of the first object in the collection. This is useful for binding a list
                /// of values to an expression such as <c>foo.bar in (:value_list)</c>
                /// </summary>
                /// <param name="name">The name of the parameter</param>
                /// <param name="vals">A collection of values to list</param>
                IMultiQuery SetParameterList(string name, ICollection vals);


Clone Instance
3
Line Count
19
Source Line
249
Source File
src/NHibernate/IQuery.cs

                /// <summary>
                /// Bind a value to a named query parameter, guessing the NHibernate <see cref="IType"/>
                /// from the class of the given object.
                /// </summary>
                /// <param name="name">The name of the parameter</param>
                /// <param name="val">The non-null parameter value</param>
                IQuery SetParameter(string name, object val);

                /// <summary>
                /// Bind multiple values to a named query parameter. This is useful for binding a list
                /// of values to an expression such as <c>foo.bar in (:value_list)</c>
                /// </summary>
                /// <param name="name">The name of the parameter</param>
                /// <param name="vals">A collection of values to list</param>
                /// <param name="type">The Hibernate type of the values</param>
                IQuery SetParameterList(string name, ICollection vals, IType type);

                /// <summary>
                /// Bind multiple values to a named query parameter, guessing the Hibernate
                /// type from the class of the first object in the collection. This is useful for binding a list
                /// of values to an expression such as <c>foo.bar in (:value_list)</c>
                /// </summary>
                /// <param name="name">The name of the parameter</param>
                /// <param name="vals">A collection of values to list</param>
                IQuery SetParameterList(string name, ICollection vals);


Clone AbstractionParameter Count: 1Parameter Bindings

 [[#variable2932e540]]SetParameter(string name, object val);
 [[#variable2932e540]]SetParameterList(string name, ICollection vals, IType type);
 [[#variable2932e540]]SetParameterList(string name, ICollection vals);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2932e540]]
/// <summary>
/// Bind a value to a named query parameter, guessing the NHibernate <see cref="IType"/>
/// from the class of the given object.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">The non-null parameter value</param>
IQuery 
12[[#2932e540]]
/// <summary>
/// Bind a value to a named query parameter, guessing the NHibernate <see cref="IType"/>
/// from the class of the given object.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">The non-null parameter value</param>
IMultiQuery 
13[[#2932e540]]
/// <summary>
/// Bind a value to a named query parameter, guessing the NHibernate <see cref="IType"/>
/// from the class of the given object.
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="val">The non-null parameter value</param>
IDetachedQuery