CloneSet478


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5530.973class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15509
src/NHibernate/Impl/SessionImpl.cs
25525
src/NHibernate/Impl/SessionImpl.cs
35541
src/NHibernate/Impl/SessionImpl.cs
451004
src/NHibernate/Impl/SessionImpl.cs
551020
src/NHibernate/Impl/SessionImpl.cs
Clone Instance
1
Line Count
5
Source Line
509
Source File
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 ));
                        }
                }



Clone Instance
2
Line Count
5
Source Line
525
Source File
src/NHibernate/Impl/SessionImpl.cs

                public void Update(string entityName, object obj)
                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                FireUpdate(new SaveOrUpdateEvent(entityName, obj, this ));
                        }
                }



Clone Instance
3
Line Count
5
Source Line
541
Source File
src/NHibernate/Impl/SessionImpl.cs

                public void SaveOrUpdate(string entityName, object obj)
                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                FireSaveOrUpdate(new SaveOrUpdateEvent(entityName, obj, this ));
                        }
                }



Clone Instance
4
Line Count
5
Source Line
1004
Source File
src/NHibernate/Impl/SessionImpl.cs

                public void Persist(string entityName, object obj)
                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                FirePersist(new PersistEvent(entityName, obj, this ));
                        }
                }



Clone Instance
5
Line Count
5
Source Line
1020
Source File
src/NHibernate/Impl/SessionImpl.cs

                public void PersistOnFlush(string entityName, object obj)
                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                FirePersistOnFlush(new PersistEvent(entityName, obj, this ));
                        }
                }



Clone AbstractionParameter Count: 3Parameter Bindings

/// <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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#522a4b40]]
PersistOnFlush 
12[[#522a4b40]]
Persist 
13[[#522a4b40]]
SaveOrUpdate 
14[[#522a4b40]]
Update 
15[[#522a4b40]]
Delete 
21[[#522a4aa0]]
FirePersistOnFlush 
22[[#522a4aa0]]
FirePersist 
23[[#522a4aa0]]
FireSaveOrUpdate 
24[[#522a4aa0]]
FireUpdate 
25[[#522a4aa0]]
FireDelete 
31[[#522a4a00]]
PersistEvent 
32[[#522a4a00]]
PersistEvent 
33[[#522a4a00]]
SaveOrUpdateEvent 
34[[#522a4a00]]
SaveOrUpdateEvent 
35[[#522a4a00]]
DeleteEvent