CloneSet506


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5440.962class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15933
src/NHibernate/Impl/SessionImpl.cs
25942
src/NHibernate/Impl/SessionImpl.cs
35951
src/NHibernate/Impl/SessionImpl.cs
45969
src/NHibernate/Impl/SessionImpl.cs
Clone Instance
1
Line Count
5
Source Line
933
Source File
src/NHibernate/Impl/SessionImpl.cs

                /// <summary> Cascade merge an entity instance</summary>
                public void Merge(string entityName, object obj, IDictionary copiedAlready)
                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                FireMerge(copiedAlready, new MergeEvent(entityName, obj, this ));
                        }
                }



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

                /// <summary> Cascade persist an entity instance</summary>
                public void Persist(string entityName, object obj, IDictionary createdAlready)
                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                FirePersist(createdAlready, new PersistEvent(entityName, obj, this ));
                        }
                }



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

                /// <summary> Cascade persist an entity instance during the flush process</summary>
                public void PersistOnFlush(string entityName, object obj, IDictionary copiedAlready)
                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                FirePersistOnFlush(copiedAlready, new PersistEvent(entityName, obj, this ));
                        }
                }



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

                /// <summary> Cascade copy an entity instance</summary>
                public void SaveOrUpdateCopy(string entityName, object obj, IDictionary copiedAlready)
                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                FireSaveOrUpdateCopy(copiedAlready, new MergeEvent(entityName, obj, this ));
                        }
                }



Clone AbstractionParameter Count: 4Parameter Bindings

/// <summary> Cascade copy an entity instance</summary>
/// <summary> Cascade persist an entity instance during the flush process</summary>
/// <summary> Cascade persist an entity instance</summary>
/// <summary> Cascade merge an entity instance</summary>
public void [[#variable70a84f80]](string entityName, object obj, IDictionary [[#variable70a84fc0]])
{
   using (new SessionIdLoggingContext(SessionId))
   {
       [[#variable6e723aa0]]( [[#variable70a84fc0]], new [[#variable6eda70e0]](entityName, obj, this ));
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#70a84f80]]
SaveOrUpdateCopy 
12[[#70a84f80]]
PersistOnFlush 
13[[#70a84f80]]
Persist 
14[[#70a84f80]]
Merge 
21[[#70a84fc0]]
copiedAlready 
22[[#70a84fc0]]
copiedAlready 
23[[#70a84fc0]]
createdAlready 
24[[#70a84fc0]]
copiedAlready 
31[[#6e723aa0]]
FireSaveOrUpdateCopy 
32[[#6e723aa0]]
FirePersistOnFlush 
33[[#6e723aa0]]
FirePersist 
34[[#6e723aa0]]
FireMerge 
41[[#6eda70e0]]
MergeEvent 
42[[#6eda70e0]]
PersistEvent 
43[[#6eda70e0]]
PersistEvent 
44[[#6eda70e0]]
MergeEvent