Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.969 | interface_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 78 | src/NHibernate/IDetachedQuery.cs |
2 | 9 | 209 | src/NHibernate/IQuery.cs |
| ||||
/// <summary> /// Bind a value to an indexed parameter. /// </summary> /// <param name="position">Position of the parameter in the query, numbered from <c>0</c></param> /// <param name="val">The possibly null parameter value</param> /// <param name="type">The Hibernate type</param> IDetachedQuery SetParameter(int position, object val, IType type); /// <summary> /// Bind a value to a named query parameter /// </summary> /// <param name="name">The name of the parameter</param> /// <param name="val">The possibly null parameter value</param> /// <param name="type">The NHibernate <see cref="IType"/>.</param> IDetachedQuery SetParameter(string name, object val, IType type); |
| ||||
/// <summary> /// Bind a value to an indexed parameter. /// </summary> /// <param name="position">Position of the parameter in the query, numbered from <c>0</c></param> /// <param name="val">The possibly null parameter value</param> /// <param name="type">The Hibernate type</param> IQuery SetParameter(int position, object val, IType type); /// <summary> /// Bind a value to a named query parameter /// </summary> /// <param name="name">The name of the parameter</param> /// <param name="val">The possibly null parameter value</param> /// <param name="type">The NHibernate <see cref="IType"/>.</param> IQuery SetParameter(string name, object val, IType type); |
| |||
[[#variable5615ab00]]SetParameter(int position, object val, IType type); [[#variable5615ab00]]SetParameter(string name, object val, IType type); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5615ab00]] | /// <summary> /// Bind a value to an indexed parameter. /// </summary> /// <param name="position">Position of the parameter in the query, numbered from <c>0</c></param> /// <param name="val">The possibly null parameter value</param> /// <param name="type">The Hibernate type</param> IDetachedQuery |
1 | 2 | [[#5615ab00]] | /// <summary> /// Bind a value to an indexed parameter. /// </summary> /// <param name="position">Position of the parameter in the query, numbered from <c>0</c></param> /// <param name="val">The possibly null parameter value</param> /// <param name="type">The Hibernate type</param> IQuery |