Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 2 | 2 | 0.952 | statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 3022 | src/NHibernate/Persister/Entity/AbstractEntityPersister.cs |
2 | 1 | 95 | src/NHibernate/Type/ManyToOneType.cs |
| ||||
// need to treat this as if it where optimistic-lock="all" (dirty does *not* make sense); // first we need to locate the "loaded" state // // Note, it potentially could be a proxy, so perform the location the safe way... EntityKey key = new EntityKey(id, this, session.EntityMode); |
| ||||
EntityKey entityKey = new EntityKey(id, persister, session.EntityMode); |
| |||
// need to treat this as if it where optimistic-lock="all" (dirty does *not* make sense); // first we need to locate the "loaded" state // // Note, it potentially could be a proxy, so perform the location the safe way... EntityKey [[#variable6f5b1a60]]= new EntityKey(id, [[#variable6f5b1a00]], session.EntityMode); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6f5b1a60]] | entityKey |
1 | 2 | [[#6f5b1a60]] | key |
2 | 1 | [[#6f5b1a00]] | persister |
2 | 2 | [[#6f5b1a00]] | this |