CloneSet2140


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.978non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16487
src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.cs
25494
src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.cs
Clone Instance
1
Line Count
6
Source Line
487
Source File
src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.cs

                                                // Does the collection referenced by this FromElement
                                                // specify an order-by attribute?  If so, attach it to
                                                // the query's order-by
                                                if ( fromElement.QueryableCollection.HasOrdering)
                                                {
                                                        string orderByFragment = fromElement.
                                                                         QueryableCollection.
                                                                         GetSQLOrderByString( fromElement.TableAlias);
                                                        qn.GetOrderByClause().AddOrderFragment( orderByFragment);
                                                }


Clone Instance
2
Line Count
5
Source Line
494
Source File
src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.cs

                                                if ( fromElement.QueryableCollection.HasManyToManyOrdering)
                                                {
                                                        string orderByFragment = fromElement.QueryableCollection.
                                                                         GetManyToManyOrderByString( fromElement.TableAlias);
                                                        qn.GetOrderByClause().AddOrderFragment( orderByFragment);
                                                }


Clone AbstractionParameter Count: 2Parameter Bindings

// Does the collection referenced by this FromElement
// specify an order-by attribute?  If so, attach it to
// the query's order-by
if (fromElement.QueryableCollection. [[#variable6529ad00]])
{
   string orderByFragment = fromElement.QueryableCollection. [[#variable6529bc20]](fromElement.TableAlias);
   qn.GetOrderByClause().AddOrderFragment(orderByFragment);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6529ad00]]
HasManyToManyOrdering 
12[[#6529ad00]]
HasOrdering 
21[[#6529bc20]]
GetManyToManyOrderByString 
22[[#6529bc20]]
GetSQLOrderByString