CloneSet531


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12250.977class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1133506
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs
2123522
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs
Clone Instance
1
Line Count
13
Source Line
3506
Source File
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs

                public virtual int[] FindDirty(object[] currentState, object[] previousState, object entity, ISessionImplementor session)
                {
                        int[] props = TypeFactory.FindDirty(
                                entityMetamodel.Properties, currentState, previousState, propertyColumnUpdateable, HasUninitializedLazyProperties(entity, session.EntityMode), session);

                        if (props == null)
                        {
                                return null;
                        }
                        else
                        {
                                LogDirtyProperties(props);
                                return props;
                        }
                }



Clone Instance
2
Line Count
12
Source Line
3522
Source File
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs

                public virtual int[] FindModified(object[] old, object[] current, object entity, ISessionImplementor session)
                {
                        int[] props = TypeFactory.FindModified(
                                entityMetamodel.Properties, current, old, propertyColumnUpdateable, HasUninitializedLazyProperties(entity, session.EntityMode), session);
                        if (props == null)
                        {
                                return null;
                        }
                        else
                        {
                                LogDirtyProperties(props);
                                return props;
                        }
                }



Clone AbstractionParameter Count: 5Parameter Bindings

public virtual int[] [[#variable6e5b10e0]](object[] [[#variable6e5b1120]], object[] [[#variable2bce1d00]], object entity, ISessionImplementor session)
{
   int[] props = TypeFactory. [[#variable6e5b10e0]](entityMetamodel.Properties, [[#variable2bce1bc0]], [[#variable6e5b10a0]], propertyColumnUpdateable, HasUninitializedLazyProperties(entity, session.EntityMode), session);
   if (props == null)
   {
      return null;
   }
   else
   {
      LogDirtyProperties(props);
      return props;
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6e5b10e0]]
FindModified 
12[[#6e5b10e0]]
FindDirty 
21[[#6e5b1120]]
old 
22[[#6e5b1120]]
currentState 
31[[#2bce1d00]]
current 
32[[#2bce1d00]]
previousState 
41[[#2bce1bc0]]
current 
42[[#2bce1bc0]]
currentState 
51[[#6e5b10a0]]
old 
52[[#6e5b10a0]]
previousState