| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 1 | 0.992 | class_member_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 571 | src/NHibernate/Persister/Entity/JoinedSubclassEntityPersister.cs |
| 2 | 5 | 701 | src/NHibernate/Persister/Entity/SingleTableEntityPersister.cs |
| ||||
public override string GetPropertyTableName(string propertyName)
{
int ? index = EntityMetamodel.GetPropertyIndexOrNull(propertyName);
if ( !index.HasValue) return null;
return tableNames[propertyTableNumbers[index.Value]];
}
|
| ||||
public override string GetPropertyTableName(string propertyName)
{
int ? index = EntityMetamodel.GetPropertyIndexOrNull(propertyName);
if ( !index.HasValue) return null;
return qualifiedTableNames[propertyTableNumbers[index.Value]];
}
|
| |||
public override string GetPropertyTableName(string propertyName)
{
int ? index = EntityMetamodel.GetPropertyIndexOrNull(propertyName);
if ( !index.HasValue)
return null;
return [[#variable2d33d8a0]][propertyTableNumbers[index.Value]];
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#2d33d8a0]] | tableNames |
| 1 | 2 | [[#2d33d8a0]] | qualifiedTableNames |