File tree 11 files changed +11
-11
lines changed 11 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public override string Name
54
54
55
55
public override string ObjectToSQLString ( object value , Dialect . Dialect dialect )
56
56
{
57
- return value . ToString ( ) ;
57
+ return Convert . ToByte ( value ) . ToString ( ) ;
58
58
}
59
59
60
60
// 6.0 TODO: rename "xml" parameter as "value": it is not a xml string. The fact it generally comes from a xml
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public override object FromStringValue(string xml)
66
66
67
67
public override string ObjectToSQLString ( object value , Dialect . Dialect dialect )
68
68
{
69
- return value . ToString ( ) ;
69
+ return Convert . ToDecimal ( value ) . ToString ( ) ;
70
70
}
71
71
72
72
// 6.0 TODO: rename "xml" parameter as "value": it is not a xml string. The fact it generally comes from a xml
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public override object DefaultValue
66
66
67
67
public override string ObjectToSQLString ( object value , Dialect . Dialect dialect )
68
68
{
69
- return value . ToString ( ) ;
69
+ return Convert . ToDouble ( value ) . ToString ( ) ;
70
70
}
71
71
}
72
72
}
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ public override object DefaultValue
114
114
115
115
public override string ObjectToSQLString ( object value , Dialect . Dialect dialect )
116
116
{
117
- return value . ToString ( ) ;
117
+ return Convert . ToInt16 ( value ) . ToString ( ) ;
118
118
}
119
119
}
120
120
}
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ public override object DefaultValue
114
114
115
115
public override string ObjectToSQLString ( object value , Dialect . Dialect dialect )
116
116
{
117
- return value . ToString ( ) ;
117
+ return Convert . ToInt32 ( value ) . ToString ( ) ;
118
118
}
119
119
}
120
120
}
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ public override object DefaultValue
114
114
115
115
public override string ObjectToSQLString ( object value , Dialect . Dialect dialect )
116
116
{
117
- return value . ToString ( ) ;
117
+ return Convert . ToInt64 ( value ) . ToString ( ) ;
118
118
}
119
119
}
120
120
}
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ public override object DefaultValue
116
116
117
117
public override string ObjectToSQLString ( object value , Dialect . Dialect dialect )
118
118
{
119
- return value . ToString ( ) ;
119
+ return Convert . ToSByte ( value ) . ToString ( ) ;
120
120
}
121
121
}
122
122
}
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ public override object DefaultValue
91
91
92
92
public override string ObjectToSQLString ( object value , Dialect . Dialect dialect )
93
93
{
94
- return value . ToString ( ) ;
94
+ return Convert . ToSingle ( value ) . ToString ( ) ;
95
95
}
96
96
}
97
97
}
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ public override object DefaultValue
114
114
115
115
public override string ObjectToSQLString ( object value , Dialect . Dialect dialect )
116
116
{
117
- return value . ToString ( ) ;
117
+ return Convert . ToUInt16 ( value ) . ToString ( ) ;
118
118
}
119
119
}
120
120
}
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ public override object DefaultValue
114
114
115
115
public override string ObjectToSQLString ( object value , Dialect . Dialect dialect )
116
116
{
117
- return value . ToString ( ) ;
117
+ return Convert . ToUInt32 ( value ) . ToString ( ) ;
118
118
}
119
119
}
120
120
}
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ public override object DefaultValue
113
113
114
114
public override string ObjectToSQLString ( object value , Dialect . Dialect dialect )
115
115
{
116
- return value . ToString ( ) ;
116
+ return Convert . ToUInt64 ( value ) . ToString ( ) ;
117
117
}
118
118
}
119
119
}
You can’t perform that action at this time.
0 commit comments