| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 22 | 7 | 6 | 0.959 | class_member_declarations[4] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 22 | 167 | src/NHibernate/Impl/AbstractDetachedQuery.cs |
| 2 | 22 | 191 | src/NHibernate/Impl/AbstractDetachedQuery.cs |
| 3 | 22 | 215 | src/NHibernate/Impl/AbstractDetachedQuery.cs |
| 4 | 22 | 239 | src/NHibernate/Impl/AbstractDetachedQuery.cs |
| 5 | 22 | 287 | src/NHibernate/Impl/AbstractDetachedQuery.cs |
| 6 | 22 | 311 | src/NHibernate/Impl/AbstractDetachedQuery.cs |
| 7 | 22 | 335 | src/NHibernate/Impl/AbstractDetachedQuery.cs |
| ||||
public IDetachedQuery SetAnsiString(int position, string val)
{
SetParameter(position, val, NHibernateUtil.AnsiString);
return this ;
}
public IDetachedQuery SetAnsiString(string name, string val)
{
SetParameter(name, val, NHibernateUtil.AnsiString);
return this ;
}
public IDetachedQuery SetBinary(int position, byte[] val)
{
SetParameter(position, val, NHibernateUtil.Binary);
return this ;
}
public IDetachedQuery SetBinary(string name, byte[] val)
{
SetParameter(name, val, NHibernateUtil.Binary);
return this ;
}
|
| ||||
public IDetachedQuery SetBoolean(int position, bool val)
{
SetParameter(position, val, NHibernateUtil.Boolean);
return this ;
}
public IDetachedQuery SetBoolean(string name, bool val)
{
SetParameter(name, val, NHibernateUtil.Boolean);
return this ;
}
public IDetachedQuery SetByte(int position, byte val)
{
SetParameter(position, val, NHibernateUtil.Byte);
return this ;
}
public IDetachedQuery SetByte(string name, byte val)
{
SetParameter(name, val, NHibernateUtil.Byte);
return this ;
}
|
| ||||
public IDetachedQuery SetCharacter(int position, char val)
{
SetParameter(position, val, NHibernateUtil.Character);
return this ;
}
public IDetachedQuery SetCharacter(string name, char val)
{
SetParameter(name, val, NHibernateUtil.Character);
return this ;
}
public IDetachedQuery SetDateTime(int position, DateTime val)
{
SetParameter(position, val, NHibernateUtil.DateTime);
return this ;
}
public IDetachedQuery SetDateTime(string name, DateTime val)
{
SetParameter(name, val, NHibernateUtil.DateTime);
return this ;
}
|
| ||||
public IDetachedQuery SetDecimal(int position, decimal val)
{
SetParameter(position, val, NHibernateUtil.Decimal);
return this ;
}
public IDetachedQuery SetDecimal(string name, decimal val)
{
SetParameter(name, val, NHibernateUtil.Decimal);
return this ;
}
public IDetachedQuery SetDouble(int position, double val)
{
SetParameter(position, val, NHibernateUtil.Double);
return this ;
}
public IDetachedQuery SetDouble(string name, double val)
{
SetParameter(name, val, NHibernateUtil.Double);
return this ;
}
|
| ||||
public IDetachedQuery SetInt16(int position, short val)
{
SetParameter(position, val, NHibernateUtil.Int16);
return this ;
}
public IDetachedQuery SetInt16(string name, short val)
{
SetParameter(name, val, NHibernateUtil.Int16);
return this ;
}
public IDetachedQuery SetInt32(int position, int val)
{
SetParameter(position, val, NHibernateUtil.Int32);
return this ;
}
public IDetachedQuery SetInt32(string name, int val)
{
SetParameter(name, val, NHibernateUtil.Int32);
return this ;
}
|
| ||||
public IDetachedQuery SetInt64(int position, long val)
{
SetParameter(position, val, NHibernateUtil.Int64);
return this ;
}
public IDetachedQuery SetInt64(string name, long val)
{
SetParameter(name, val, NHibernateUtil.Int64);
return this ;
}
public IDetachedQuery SetSingle(int position, float val)
{
SetParameter(position, val, NHibernateUtil.Single);
return this ;
}
public IDetachedQuery SetSingle(string name, float val)
{
SetParameter(name, val, NHibernateUtil.Single);
return this ;
}
|
| ||||
public IDetachedQuery SetString(int position, string val)
{
SetParameter(position, val, NHibernateUtil.String);
return this ;
}
public IDetachedQuery SetString(string name, string val)
{
SetParameter(name, val, NHibernateUtil.String);
return this ;
}
public IDetachedQuery SetTime(int position, DateTime val)
{
SetParameter(position, val, NHibernateUtil.Time);
return this ;
}
public IDetachedQuery SetTime(string name, DateTime val)
{
SetParameter(name, val, NHibernateUtil.Time);
return this ;
}
|
| |||
public IDetachedQuery [[#variable54a56940]](int position, [[#variable6f522cc0]]val)
{
SetParameter(position, val, NHibernateUtil. [[#variable6fd84a00]]);
return this ;
}
public IDetachedQuery [[#variable54a56940]](string name, [[#variable6f522cc0]]val)
{
SetParameter(name, val, NHibernateUtil. [[#variable6fd84a00]]);
return this ;
}
public IDetachedQuery [[#variable6fd849c0]](int position, [[#variable6f522bc0]]val)
{
SetParameter(position, val, NHibernateUtil. [[#variable6f522ba0]]);
return this ;
}
public IDetachedQuery [[#variable6fd849c0]](string name, [[#variable6f522bc0]]val)
{
SetParameter(name, val, NHibernateUtil. [[#variable6f522ba0]]);
return this ;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#54a56940]] | SetAnsiString |
| 1 | 2 | [[#54a56940]] | SetBoolean |
| 1 | 3 | [[#54a56940]] | SetCharacter |
| 1 | 4 | [[#54a56940]] | SetDecimal |
| 1 | 5 | [[#54a56940]] | SetInt16 |
| 1 | 6 | [[#54a56940]] | SetInt64 |
| 1 | 7 | [[#54a56940]] | SetString |
| 2 | 1 | [[#6f522cc0]] | string |
| 2 | 2 | [[#6f522cc0]] | bool |
| 2 | 3 | [[#6f522cc0]] | char |
| 2 | 4 | [[#6f522cc0]] | decimal |
| 2 | 5 | [[#6f522cc0]] | short |
| 2 | 6 | [[#6f522cc0]] | long |
| 2 | 7 | [[#6f522cc0]] | string |
| 3 | 1 | [[#6fd84a00]] | AnsiString |
| 3 | 2 | [[#6fd84a00]] | Boolean |
| 3 | 3 | [[#6fd84a00]] | Character |
| 3 | 4 | [[#6fd84a00]] | Decimal |
| 3 | 5 | [[#6fd84a00]] | Int16 |
| 3 | 6 | [[#6fd84a00]] | Int64 |
| 3 | 7 | [[#6fd84a00]] | String |
| 4 | 1 | [[#6fd849c0]] | SetBinary |
| 4 | 2 | [[#6fd849c0]] | SetByte |
| 4 | 3 | [[#6fd849c0]] | SetDateTime |
| 4 | 4 | [[#6fd849c0]] | SetDouble |
| 4 | 5 | [[#6fd849c0]] | SetInt32 |
| 4 | 6 | [[#6fd849c0]] | SetSingle |
| 4 | 7 | [[#6fd849c0]] | SetTime |
| 5 | 1 | [[#6f522bc0]] | byte[] |
| 5 | 2 | [[#6f522bc0]] | byte |
| 5 | 3 | [[#6f522bc0]] | DateTime |
| 5 | 4 | [[#6f522bc0]] | double |
| 5 | 5 | [[#6f522bc0]] | int |
| 5 | 6 | [[#6f522bc0]] | float |
| 5 | 7 | [[#6f522bc0]] | DateTime |
| 6 | 1 | [[#6f522ba0]] | Binary |
| 6 | 2 | [[#6f522ba0]] | Byte |
| 6 | 3 | [[#6f522ba0]] | DateTime |
| 6 | 4 | [[#6f522ba0]] | Double |
| 6 | 5 | [[#6f522ba0]] | Int32 |
| 6 | 6 | [[#6f522ba0]] | Single |
| 6 | 7 | [[#6f522ba0]] | Time |