CloneSet412


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9520.983class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19160
src/NHibernate/Engine/CascadingAction.cs
29182
src/NHibernate/Engine/CascadingAction.cs
38204
src/NHibernate/Engine/CascadingAction.cs
48225
src/NHibernate/Engine/CascadingAction.cs
59250
src/NHibernate/Engine/CascadingAction.cs
Clone Instance
1
Line Count
9
Source Line
160
Source File
src/NHibernate/Engine/CascadingAction.cs

                        public override IEnumerable GetCascadableChildrenIterator(IEventSource session, CollectionType collectionType, object collection)
                        {
                                // delete does cascade to uninitialized collections
                                return GetAllElementsIterator(session, collectionType, collection);
                        }

                        public override bool DeleteOrphans
                        {
                                // orphans should be deleted during delete
                                get { return true;
                                    }
                        }



Clone Instance
2
Line Count
9
Source Line
182
Source File
src/NHibernate/Engine/CascadingAction.cs

                        public override IEnumerable GetCascadableChildrenIterator(IEventSource session, CollectionType collectionType, object collection)
                        {
                                // lock doesn't cascade to uninitialized collections
                                return GetLoadedElementsIterator(session, collectionType, collection);
                        }

                        public override bool DeleteOrphans
                        {
                                //TODO: should orphans really be deleted during lock???
                                get { return false;
                                    }
                        }



Clone Instance
3
Line Count
8
Source Line
204
Source File
src/NHibernate/Engine/CascadingAction.cs

                        public override IEnumerable GetCascadableChildrenIterator(IEventSource session, CollectionType collectionType, object collection)
                        {
                                // refresh doesn't cascade to uninitialized collections
                                return GetLoadedElementsIterator(session, collectionType, collection);
                        }

                        public override bool DeleteOrphans
                        {
                                get { return false;
                                    }
                        }



Clone Instance
4
Line Count
8
Source Line
225
Source File
src/NHibernate/Engine/CascadingAction.cs

                        public override IEnumerable GetCascadableChildrenIterator(IEventSource session, CollectionType collectionType, object collection)
                        {
                                // evicts don't cascade to uninitialized collections
                                return GetLoadedElementsIterator(session, collectionType, collection);
                        }

                        public override bool DeleteOrphans
                        {
                                get { return false;
                                    }
                        }



Clone Instance
5
Line Count
9
Source Line
250
Source File
src/NHibernate/Engine/CascadingAction.cs

                        public override IEnumerable GetCascadableChildrenIterator(IEventSource session, CollectionType collectionType, object collection)
                        {
                                // saves / updates don't cascade to uninitialized collections
                                return GetLoadedElementsIterator(session, collectionType, collection);
                        }

                        public override bool DeleteOrphans
                        {
                                // orphans should be deleted during save/update
                                get { return true;
                                    }
                        }



Clone AbstractionParameter Count: 2Parameter Bindings

public override IEnumerable GetCascadableChildrenIterator(IEventSource session, CollectionType collectionType, object collection)
{
   // saves / updates don't cascade to uninitialized collections
   // delete does cascade to uninitialized collections
   // lock doesn't cascade to uninitialized collections
   // refresh doesn't cascade to uninitialized collections
   // evicts don't cascade to uninitialized collections
   return [[#variable55ad6900]](session, collectionType, collection);
}

public override bool DeleteOrphans
{
   // orphans should be deleted during save/update
   // orphans should be deleted during delete
   //TODO: should orphans really be deleted during lock???
   get
   {
      return [[#variable55ad6840]];
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#55ad6900]]
GetLoadedElementsIterator 
12[[#55ad6900]]
GetAllElementsIterator 
13[[#55ad6900]]
GetLoadedElementsIterator 
14[[#55ad6900]]
GetLoadedElementsIterator 
15[[#55ad6900]]
GetLoadedElementsIterator 
21[[#55ad6840]]
true 
22[[#55ad6840]]
true 
23[[#55ad6840]]
false 
24[[#55ad6840]]
false 
25[[#55ad6840]]
false