CloneSet121


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
41050.962statement_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1436
src/NHibernate/Dialect/DB2Dialect.cs
2441
src/NHibernate/Dialect/FirebirdDialect.cs
3416
src/NHibernate/Dialect/GenericDialect.cs
4437
src/NHibernate/Dialect/IngresDialect.cs
5454
src/NHibernate/Dialect/MsSql2000Dialect.cs
6423
src/NHibernate/Dialect/MsSqlCeDialect.cs
7476
src/NHibernate/Dialect/MySQLDialect.cs
8444
src/NHibernate/Dialect/OracleLiteDialect.cs
9441
src/NHibernate/Dialect/PostgreSQLDialect.cs
10419
src/NHibernate/Dialect/SybaseASA9Dialect.cs
Clone Instance
1
Line Count
4
Source Line
36
Source File
src/NHibernate/Dialect/DB2Dialect.cs

                        RegisterColumnType(DbType.Boolean, "SMALLINT");
                        RegisterColumnType(DbType.Byte, "SMALLINT");
                        RegisterColumnType(DbType.Currency, "DECIMAL(16,4)");
                        RegisterColumnType(DbType.Date, "DATE");


Clone Instance
2
Line Count
4
Source Line
41
Source File
src/NHibernate/Dialect/FirebirdDialect.cs

                        RegisterColumnType(DbType.Boolean, "SMALLINT");
                        RegisterColumnType(DbType.Byte, "SMALLINT");
                        RegisterColumnType(DbType.Currency, "DECIMAL(18,4)");
                        RegisterColumnType(DbType.Currency, "DECIMAL($p,$s)");


Clone Instance
3
Line Count
4
Source Line
16
Source File
src/NHibernate/Dialect/GenericDialect.cs

                        RegisterColumnType(DbType.Boolean, "BIT");
                        RegisterColumnType(DbType.Byte, "TINYINT");
                        RegisterColumnType(DbType.Currency, "MONEY");
                        RegisterColumnType(DbType.Date, "DATE");


Clone Instance
4
Line Count
4
Source Line
37
Source File
src/NHibernate/Dialect/IngresDialect.cs

                        RegisterColumnType(DbType.Boolean, "boolean");
                        RegisterColumnType(DbType.Byte, "int2");
                        RegisterColumnType(DbType.Currency, "decimal(16,4)");
                        RegisterColumnType(DbType.Date, "date");


Clone Instance
5
Line Count
4
Source Line
54
Source File
src/NHibernate/Dialect/MsSql2000Dialect.cs

                        RegisterColumnType(DbType.Boolean, "BIT");
                        RegisterColumnType(DbType.Byte, "TINYINT");
                        RegisterColumnType(DbType.Currency, "MONEY");
                        RegisterColumnType(DbType.Date, "DATETIME");


Clone Instance
6
Line Count
4
Source Line
23
Source File
src/NHibernate/Dialect/MsSqlCeDialect.cs

                        RegisterColumnType(DbType.Boolean, "BIT");
                        RegisterColumnType(DbType.Byte, "TINYINT");
                        RegisterColumnType(DbType.Currency, "MONEY");
                        RegisterColumnType(DbType.DateTime, "DATETIME");


Clone Instance
7
Line Count
4
Source Line
76
Source File
src/NHibernate/Dialect/MySQLDialect.cs

                        //Numeric type:
                        RegisterColumnType(DbType.Boolean, "TINYINT(1)"); // SELECT IF(0, 'true', 'false');
                        RegisterColumnType(DbType.Byte, "TINYINT UNSIGNED");
                        RegisterColumnType(DbType.Currency, "MONEY");
                        RegisterColumnType(DbType.Decimal, "NUMERIC(19,5)");


Clone Instance
8
Line Count
4
Source Line
44
Source File
src/NHibernate/Dialect/OracleLiteDialect.cs

                        RegisterColumnType(DbType.Boolean, "NUMBER(1,0)");
                        RegisterColumnType(DbType.Byte, "NUMBER(3,0)");
                        RegisterColumnType(DbType.Currency, "NUMBER(19,1)");
                        RegisterColumnType(DbType.Date, "DATE");


Clone Instance
9
Line Count
4
Source Line
41
Source File
src/NHibernate/Dialect/PostgreSQLDialect.cs

                        RegisterColumnType(DbType.Boolean, "boolean");
                        RegisterColumnType(DbType.Byte, "int2");
                        RegisterColumnType(DbType.Currency, "decimal(16,4)");
                        RegisterColumnType(DbType.Date, "date");


Clone Instance
10
Line Count
4
Source Line
19
Source File
src/NHibernate/Dialect/SybaseASA9Dialect.cs

                        RegisterColumnType(DbType.Boolean, "BIT");
                        RegisterColumnType(DbType.Byte, "SMALLINT");
                        RegisterColumnType(DbType.Currency, "DECIMAL(18,4)");
                        RegisterColumnType(DbType.Date, "DATE");


Clone AbstractionParameter Count: 5Parameter Bindings

//Numeric type:
RegisterColumnType(DbType.Boolean, [[#variable65268060]]); // SELECT IF(0, 'true', 'false');
RegisterColumnType(DbType.Byte, [[#variable5f78bf20]]);
RegisterColumnType(DbType.Currency, [[#variable5f78a600]]);
RegisterColumnType(DbType. [[#variable5f78bf00]], [[#variable5f78be80]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#65268060]]
"SMALLINT" 
12[[#65268060]]
"BIT" 
13[[#65268060]]
"BIT" 
14[[#65268060]]
"boolean" 
15[[#65268060]]
"BIT" 
16[[#65268060]]
"BIT" 
17[[#65268060]]
"TINYINT(1)" 
18[[#65268060]]
"NUMBER(1,0)" 
19[[#65268060]]
"SMALLINT" 
110[[#65268060]]
"boolean" 
21[[#5f78bf20]]
"SMALLINT" 
22[[#5f78bf20]]
"TINYINT" 
23[[#5f78bf20]]
"TINYINT" 
24[[#5f78bf20]]
"int2" 
25[[#5f78bf20]]
"TINYINT" 
26[[#5f78bf20]]
"SMALLINT" 
27[[#5f78bf20]]
"TINYINT UNSIGNED" 
28[[#5f78bf20]]
"NUMBER(3,0)" 
29[[#5f78bf20]]
"SMALLINT" 
210[[#5f78bf20]]
"int2" 
31[[#5f78a600]]
"DECIMAL(16,4)" 
32[[#5f78a600]]
"MONEY" 
33[[#5f78a600]]
"MONEY" 
34[[#5f78a600]]
"decimal(16,4)" 
35[[#5f78a600]]
"MONEY" 
36[[#5f78a600]]
"DECIMAL(18,4)" 
37[[#5f78a600]]
"MONEY" 
38[[#5f78a600]]
"NUMBER(19,1)" 
39[[#5f78a600]]
"DECIMAL(18,4)" 
310[[#5f78a600]]
"decimal(16,4)" 
41[[#5f78bf00]]
Date 
42[[#5f78bf00]]
DateTime 
43[[#5f78bf00]]
Date 
44[[#5f78bf00]]
Date 
45[[#5f78bf00]]
Date 
46[[#5f78bf00]]
Date 
47[[#5f78bf00]]
Decimal 
48[[#5f78bf00]]
Date 
49[[#5f78bf00]]
Currency 
410[[#5f78bf00]]
Date 
51[[#5f78be80]]
"DATE" 
52[[#5f78be80]]
"DATETIME" 
53[[#5f78be80]]
"DATE" 
54[[#5f78be80]]
"date" 
55[[#5f78be80]]
"DATETIME" 
56[[#5f78be80]]
"DATE" 
57[[#5f78be80]]
"NUMERIC(19,5)" 
58[[#5f78be80]]
"DATE" 
59[[#5f78be80]]
"DECIMAL($p,$s)" 
510[[#5f78be80]]
"date"