CloneSet892


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13220.967non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114177
src/NHibernate/Persister/Collection/BasicCollectionPersister.cs
213249
src/NHibernate/Persister/Collection/OneToManyPersister.cs
Clone Instance
1
Line Count
14
Source Line
177
Source File
src/NHibernate/Persister/Collection/BasicCollectionPersister.cs

                                                if (useBatch)
                                                {
                                                        if (st == null)
                                                        {
                                                                st =
                                                                        session.Batcher.PrepareBatchCommand(SqlUpdateRowString.CommandType, SqlUpdateRowString.Text,
                                                                                                            SqlUpdateRowString.ParameterTypes);
                                                        }
                                                }
                                                else
                                                {
                                                        st =
                                                                session.Batcher.PrepareCommand(SqlUpdateRowString.CommandType, SqlUpdateRowString.Text,
                                                                                               SqlUpdateRowString.ParameterTypes);
                                                }


Clone Instance
2
Line Count
13
Source Line
249
Source File
src/NHibernate/Persister/Collection/OneToManyPersister.cs

                                                                if (useBatch)
                                                                {
                                                                        if (st == null)
                                                                        {
                                                                                st =
                                                                                        session.Batcher.PrepareBatchCommand(SqlInsertRowString.CommandType, sql.Text,
                                                                                                                            SqlInsertRowString.ParameterTypes);
                                                                        }
                                                                }
                                                                else
                                                                {
                                                                        st =
                                                                                session.Batcher.PrepareCommand(SqlInsertRowString.CommandType, sql.Text, SqlInsertRowString.ParameterTypes);
                                                                }


Clone AbstractionParameter Count: 2Parameter Bindings

if (useBatch)
{
   if (st == null)
   {
      st = session.Batcher.PrepareBatchCommand( [[#variable28b89c80]].CommandType, [[#variable28b89c00]].Text, [[#variable28b89c80]].ParameterTypes);
   }
}
else
{
   st = session.Batcher.PrepareCommand( [[#variable28b89c80]].CommandType, [[#variable28b89c00]].Text, [[#variable28b89c80]].ParameterTypes);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#28b89c80]]
SqlInsertRowString 
12[[#28b89c80]]
SqlUpdateRowString 
21[[#28b89c00]]
sql 
22[[#28b89c00]]
SqlUpdateRowString