CloneSet586


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21210.992statement_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
121156
src/NHibernate/Cfg/XmlHbmBinding/RootClassBinder.cs
221277
src/NHibernate/Cfg/XmlHbmBinding/RootClassBinder.cs
Clone Instance
1
Line Count
21
Source Line
156
Source File
src/NHibernate/Cfg/XmlHbmBinding/RootClassBinder.cs

                        property.Generation = Convert(timestampSchema.generated);

                        if (property.Generation == PropertyGeneration.Always ||
                                property.Generation == PropertyGeneration.Insert)
                        {
                                // generated properties can *never* be insertable...
                                if (property.IsInsertable)
                                        // insertable simply because that is the user did not specify
                                        // anything; just override it
                                        property.IsInsertable = false;

                                // properties generated on update can never be updateable...
                                if (property.IsUpdateable && property.Generation == PropertyGeneration.Always)
                                        // updateable only because the user did not specify 
                                        // anything; just override it
                                        property.IsUpdateable = false;
                        }

                        property.MetaAttributes = GetMetas(timestampSchema, inheritedMetas);

                        LogMappedProperty(property);


Clone Instance
2
Line Count
21
Source Line
277
Source File
src/NHibernate/Cfg/XmlHbmBinding/RootClassBinder.cs

                        property.Generation = Convert(versionSchema.generated);

                        if (property.Generation == PropertyGeneration.Always ||
                                   property.Generation == PropertyGeneration.Insert)
                        {
                                // generated properties can *never* be insertable...
                                if (property.IsInsertable)
                                        // insertable simply because that is the user did not specify
                                        // anything; just override it
                                        property.IsInsertable = false;

                                // properties generated on update can never be updateable...
                                if (property.IsUpdateable && property.Generation == PropertyGeneration.Always)
                                        // updateable only because the user did not specify 
                                        // anything; just override it
                                        property.IsUpdateable = false;
                        }

                        property.MetaAttributes = GetMetas(versionSchema, inheritedMetas);

                        LogMappedProperty(property);


Clone AbstractionParameter Count: 1Parameter Bindings

property.Generation = Convert( [[#variable4decdd20]].generated);
if (property.Generation == PropertyGeneration.Always || property.Generation == PropertyGeneration.Insert)
{
   // generated properties can *never* be insertable...
   if (property.IsInsertable)
      // insertable simply because that is the user did not specify
      // anything; just override it
      property.IsInsertable = false;
   // properties generated on update can never be updateable...
   if (property.IsUpdateable && property.Generation == PropertyGeneration.Always)
      // updateable only because the user did not specify 
      // anything; just override it
      property.IsUpdateable = false;
}
property.MetaAttributes = GetMetas( [[#variable4decdd20]], inheritedMetas);
LogMappedProperty(property);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4decdd20]]
versionSchema 
12[[#4decdd20]]
timestampSchema