Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 5 | 3 | 0.973 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 509 | src/NHibernate/Impl/SessionImpl.cs |
2 | 5 | 525 | src/NHibernate/Impl/SessionImpl.cs |
3 | 5 | 541 | src/NHibernate/Impl/SessionImpl.cs |
4 | 5 | 1004 | src/NHibernate/Impl/SessionImpl.cs |
5 | 5 | 1020 | src/NHibernate/Impl/SessionImpl.cs |
| ||||
/// <summary> Delete a persistent object (by explicit entity name)</summary> public void Delete(string entityName, object obj) { using (new SessionIdLoggingContext(SessionId)) { FireDelete(new DeleteEvent(entityName, obj, this )); } } |
| ||||
public void Update(string entityName, object obj) { using (new SessionIdLoggingContext(SessionId)) { FireUpdate(new SaveOrUpdateEvent(entityName, obj, this )); } } |
| ||||
public void SaveOrUpdate(string entityName, object obj) { using (new SessionIdLoggingContext(SessionId)) { FireSaveOrUpdate(new SaveOrUpdateEvent(entityName, obj, this )); } } |
| ||||
public void Persist(string entityName, object obj) { using (new SessionIdLoggingContext(SessionId)) { FirePersist(new PersistEvent(entityName, obj, this )); } } |
| ||||
public void PersistOnFlush(string entityName, object obj) { using (new SessionIdLoggingContext(SessionId)) { FirePersistOnFlush(new PersistEvent(entityName, obj, this )); } } |
| |||
/// <summary> Delete a persistent object (by explicit entity name)</summary> public void [[#variable522a4b40]](string entityName, object obj) { using (new SessionIdLoggingContext(SessionId)) { [[#variable522a4aa0]](new [[#variable522a4a00]](entityName, obj, this )); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#522a4b40]] | PersistOnFlush |
1 | 2 | [[#522a4b40]] | Persist |
1 | 3 | [[#522a4b40]] | SaveOrUpdate |
1 | 4 | [[#522a4b40]] | Update |
1 | 5 | [[#522a4b40]] | Delete |
2 | 1 | [[#522a4aa0]] | FirePersistOnFlush |
2 | 2 | [[#522a4aa0]] | FirePersist |
2 | 3 | [[#522a4aa0]] | FireSaveOrUpdate |
2 | 4 | [[#522a4aa0]] | FireUpdate |
2 | 5 | [[#522a4aa0]] | FireDelete |
3 | 1 | [[#522a4a00]] | PersistEvent |
3 | 2 | [[#522a4a00]] | PersistEvent |
3 | 3 | [[#522a4a00]] | SaveOrUpdateEvent |
3 | 4 | [[#522a4a00]] | SaveOrUpdateEvent |
3 | 5 | [[#522a4a00]] | DeleteEvent |