Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
21 | 2 | 1 | 0.961 | statement_list[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 23 | 328 | src/NHibernate/Loader/Custom/Sql/SQLQueryReturnProcessor.cs |
2 | 21 | 367 | src/NHibernate/Loader/Custom/Sql/SQLQueryReturnProcessor.cs |
| ||||
ISqlLoadableCollection persister = alias2CollectionPersister[alias]; bool isEntityElements = persister.ElementType.IsEntityType; ICollectionAliases collectionAliases; IEntityAliases elementEntityAliases = null; if (queryHadAliases || HasPropertyResultMap(alias)) { collectionAliases = new GeneratedCollectionAliases(collectionPropertyResultMaps[alias], alias2CollectionPersister[alias], alias2CollectionSuffix[alias]); if (isEntityElements) { elementEntityAliases = new DefaultEntityAliases(entityPropertyResultMaps[alias], alias2Persister[alias], alias2Suffix[alias]); } } else { collectionAliases = new ColumnCollectionAliases(collectionPropertyResultMaps[alias], alias2CollectionPersister[alias]); if (isEntityElements) { elementEntityAliases = new ColumnEntityAliases(entityPropertyResultMaps[alias], alias2Persister[alias], alias2Suffix[alias]); } } |
| ||||
ISqlLoadableCollection persister = alias2CollectionPersister[alias]; bool isEntityElements = persister.ElementType.IsEntityType; ICollectionAliases collectionAliases; IEntityAliases elementEntityAliases = null; if (queryHadAliases || HasPropertyResultMap(alias)) { collectionAliases = new GeneratedCollectionAliases(collectionPropertyResultMaps[alias], persister, alias2CollectionSuffix[alias]); if (isEntityElements) { elementEntityAliases = new DefaultEntityAliases(entityPropertyResultMaps[alias], alias2Persister[alias], alias2Suffix[alias]); } } else { collectionAliases = new ColumnCollectionAliases(collectionPropertyResultMaps[alias], persister); if (isEntityElements) { elementEntityAliases = new ColumnEntityAliases(entityPropertyResultMaps[alias], alias2Persister[alias], alias2Suffix[alias]); } } |
| |||
ISqlLoadableCollection persister = alias2CollectionPersister[alias]; bool isEntityElements = persister.ElementType.IsEntityType; ICollectionAliases collectionAliases; IEntityAliases elementEntityAliases = null; if (queryHadAliases || HasPropertyResultMap(alias)) { collectionAliases = new GeneratedCollectionAliases(collectionPropertyResultMaps[alias], [[#variable69761860]], alias2CollectionSuffix[alias]); if (isEntityElements) { elementEntityAliases = new DefaultEntityAliases(entityPropertyResultMaps[alias], alias2Persister[alias], alias2Suffix[alias]); } } else { collectionAliases = new ColumnCollectionAliases(collectionPropertyResultMaps[alias], [[#variable69761860]]); if (isEntityElements) { elementEntityAliases = new ColumnEntityAliases(entityPropertyResultMaps[alias], alias2Persister[alias], alias2Suffix[alias]); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#69761860]] | persister |
1 | 2 | [[#69761860]] | alias2CollectionPersister[alias] |