1 2007-03-09 Nagappan A <anagappan@novell.com>
3 * SqlBoolean.cs (GreaterThan, GreaterThanOrEqual, LessThan)
4 (LessThanOrEqual, GetXsdType, operator >, >=, <, <=): Implemented
7 * SqlDouble.cs (GetXsdType): Implemented missing 2.0 method.
9 * SqlString.cs (GetXsdType): Implemented missing 2.0 method.
11 * SqlBinary.cs (Add, GetXsdType): Implemented missing 2.0 methods.
13 * SqlByte.cs (GetXsdType): Implemented missing 2.0 method.
15 * SqlBytes.cs (GetXsdType): Implemented missing 2.0 method.
17 * SqlChars.cs (GetXsdType): Implemented missing 2.0 method.
19 * SqlXml.cs (GetXsdType): Implemented missing 2.0 method.
21 * SqlGuid.cs (GetXsdType): Implemented missing 2.0 method.
23 * SqlInt64.cs (GetXsdType): Implemented missing 2.0 method.
25 * SqlInt32.cs (GetXsdType): Implemented missing 2.0 method.
27 * SqlInt16.cs (GetXsdType): Implemented missing 2.0 method.
29 * SqlNotFilledException.cs: Fixed syntax errors based on class
32 * SqlDecimal.cs (GetXsdType): Implemented missing method.
34 * SqlDateTime.cs (GetXsdType): Implemented missing method.
36 * SqlMoney.cs (GetXsdType): Implemented missing 2.0 method.
38 * SqlSingle.cs (GetXsdType): Implemented missing 2.0 method.
40 2007-02-11 Konstantin Triger <kostat@mainsoft.com>
42 * SqlDateTime.cs, SqlDecimal.cs, SqlByte.cs, SqlDouble.cs, SqlBoolean.cs,
43 SqlBinary.cs, SqlGuid.cs: Added a 2.0 CompareTo override (refactoring).
45 2007-02-11 Vladimir Krasnov <vladimirk@mainsoft.com>
47 * SqlDateTime.cs: changed MaxValue and MinValue initialization, it was
50 2007-02-09 Nagappan A <anagappan@novell.com>
52 * SqlNotFilledException.cs: Removed APIs that are not part of both
55 * SqlTypeException.cs: Implemented missing attributes.
57 * SqlChars.cs, SqlBytes.cs: Implemented missing attributes,
58 methods and added IXmlSerializable.
60 * SqlDouble.cs, SqlSingle.cs, SqlBinary.cs, SqlString.cs:
61 Implemented missing attributes, added IXmlSerializable.
63 * SqlXml.cs, SqlInt16.cs, SqlInt32.cs, SqlInt64.cs: Implemented
64 missing attributes, added IXmlSerializable.
66 * SqlDateTime.cs, SqlDecimal.cs, SqlMoney.cs, SqlGuid.cs:
67 Implemented missing attributes, added IXmlSerializable
69 2006-07-19 Senganal T <tsenganal@novell.com>
72 - Ctr : Throw OverflowException is value oveflows
73 - AdjustScale : Support values greater than Decimal.MaxValue.
74 Throw SqlTruncateException if scale cannot be adjusted.
75 - ConvertToPrecScale : Fix the precision
76 - Sign : use IsPositive to check for sign
77 - ToString : Do not append extrs '0'
78 - operator + , -, * : Support values greater than
79 decimal.maxvalue. Fix for infinite loop when '-' is
80 invoked for some cases.
81 - operators >,<,>=.<=,==,!= : Fix operations on negative numbers
82 Thanks to Harish Kumar Singh for the patch
84 2006-02-17 Chris Toshok <toshok@ximian.com>
86 * StorageState.cs: correct namespace, and remove "Delayed"
89 2006-02-03 Senganal T <tseganal@novell.com>
93 - GetNonUnicodeBytes()
95 Use Encoding class to convert between byte[] and string
97 2006-01-27 Senganal T <tsenganal@novell.com>
99 * SqlDateTime : Corrected the MaxValue for SqlDateTime
101 2005-09-15 Raja R Harinath <rharinath@novell.com>
103 * SqlString.cs (MoneyFormat): Move to SqlMoney.cs.
104 (operator SqlString) [SqlMoney variant]: Delegate to
105 SqlMoney.ToString ().
106 * SqlMoney.cs (MoneyFormat): Move from SqlString.cs.
107 (SqlString): New static constructor.
110 2005-09-02 Umadevi S <sumadevi@novell.com>
112 * SqlXml.cs : Added a dummy placeholder to compile MicrosoftServer namespace
114 2005-03-11 Sureshkumar T <tsureshkumar@novell.com>
116 * SqlDateTime.cs (Parse): Re-org. Resolve unreachable code.
118 2005-02-11 Sureshkumar T <tsureshkumar@novell.com>
119 Ankit Jain <radical@corewars.org>
121 * SqlGuid.cs: Fixed CompareTo to compare all the 16 digits. This
122 is a LAMESPEC and current implementation matches ms.net. This
123 actually reverts Uma's patch with revison 29013.
125 2005-02-03 Sureshkumar T <tsureshkumar@novell.com>
127 * SqlDateTime.cs : Parse : try with local culture first, then try
128 with invariant culture if it fails.
130 2004-09-14 Umadevi S <sumadevi@novell.com>
131 * Made SerializableAttribute !net_2_0 for all the exception classes
134 2004-09-14 Umadevi S <sumadevi@novell.com>
135 * SqlAlreadyFilledException.cs, SqlNotFilledException.cs - Added these files
137 2004-07-21 Umadevi S <sumadevi@novell.com>
138 * SqlInt16.cs, SqlInt32.cs, SqlInt64.cs - Added Modulus,CompareTo method from .NET2.0
140 2004-07-14 Umadevi S <sumadevi@novell.com>
141 * SqlMoney.cs, SqlSingle.cs - Added CompareTo method from .NET2.0
142 * Added new Enum StorageState.cs
144 2004-07-14 Umadevi S <sumadevi@novell.com>
145 * SqlString.cs :Fixed + operator for null, CompareTo to throw SqlTypeException
146 Implemented Add and CompareTo methods from .NET2.0
148 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
150 * SqlNullValueException.cs: fixed serialization
151 * SqlTruncateException.cs: fixed serialization
152 * SqlTypeException.cs: fixed serialization
154 2004-06-18 Sebastien Pouliot <sebastien@ximian.com>
156 * SqlMoney.cs: Removed old "hack" to correct scale after rounding as
157 Decimal has been fixed (in fact this code was moved and adapted for
158 Decimal as it was better than the previous fix).
160 2004-06-08 Umadevi S <sumadevi@novell.com>
161 * SqlGuid.cs - fixed bug 59420. Implemented CompareTo according to MSDN documenation
163 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
165 * SqlDecimal.cs : don't output debug message to Console.
167 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
169 * SqlDecimal.cs : Fixed operator/ not to return positive always.
170 Halfly fixed ConvertToPrecScale() that was broken.
172 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
175 - .ctor() should check the valid scale range and throw
177 - Value should copy the last int32 value fragment.
178 - Fixed Abs() and Ceiling() to return Null when the input is Null.
179 - Now AdjustScale() should not depend on Truncate() that keeps zero
180 digits correctly. So Round() before returning the final result.
181 - ToString() should insert '-' for minus values.
182 - operator+ should use larger scale of operands rather than smaller
185 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
187 * SqlDecimal.cs : Fixed Truncate() to work fine.
188 * SqlMoney.cs : Added one hack line in operator/ to work fine.
190 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
192 * SqlDecimal.cs : Fixed AdjustScale(). When reducing digits, scale
193 parameter was incorrect.
195 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
198 - .ctor(double) initializes the precision as 17. If not sufficient,
199 it calls AdjustScale(), and if too much then it calls Round().
200 - Data should not return the internal array otherwise it might be
201 modified by outer code.
202 - Reimplemented AdjustScale() to work fine.
203 - Reimplemented Parse(). It should rather use Decimal.Parse()
204 rather than SqlDouble.Parse() for parsable value range difference.
205 - Reimplemented Round(). Don't use double.
206 - Fixed ToString() to return "Null" for null value.
207 - Fixed explicit let operator to use double .ctor, not decimal
208 .ctor() so that precision can be handled in the same way as double.
210 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
218 SqlString.cs : If values are null, ToString() should return "Null".
220 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
222 * SqlMoney.cs : Handle fixed digits correctly.
223 Round decimal value before casting into other numeric types.
226 SqlInt64.cs : Round SqlMoney decimal value before casting into them.
229 Years and months were ignored in some .ctor().
230 Return invariant culture string in ToString().
231 Return null for operator - when operand is null.
233 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
234 * SqlString.cs: change accessibility of CompareOptions property
235 to private, commented out unreachable code
237 2004-04-12 Atsushi Enomoto <atsushi@ximian.com>
239 * SqlBoolean.cs : Allow "0" and "1" on Parse(). Allow SqlString.Null
241 * SqlString.cs : CompareOption should not be None.
243 2004-04-01 Lluis Sanchez Gual <lluis@ximian.com>
245 * SqlNullValueException.cs: Use a more clarifying error message.
247 2003-12-19 Tim Coleman <tim@timcoleman.com>
248 * SqlBytes.cs SqlChars.cs SqlDate.cs SqlStreamChars.cs SqlTime.cs
249 * SqlUtcDateTime.cs SqlXmlReader.cs:
251 2003-06-03 Ville Palo <vi64pa@kolumbus.fi>
253 * SqlBinary.cs: Changed one SqlTypeException --> IndexOutOfRange
254 * SqlMoney.cs: checkings
256 2003-06-02 Ville Palo <vi64pa@kolumbus.fi>
258 * SqlString.cs: implementes less than and greater than operators.
259 Added some checks to ctor.
261 2003-06-01 Ville Palo <vi64pa@kolumbus.fi>
263 * SqlString.cs: added null checking
265 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
267 * SqlMoney.cs: little fixes and clean ups
269 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
271 * SqlInt16.cs: more checked fixes.
272 * SqlInt64.cs: checked fixes.
273 * SqlSingle.cs: checked fixes.
275 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
277 * SqlInt16.cs: little fixes.
279 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
281 * SqlDouble.cs: Some fixes. Mostly infinity checks
282 * SqlSingle.cs: tiny fixes.
283 * SqlInt64.cs: checked fix.
285 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
287 * ChangeLog: Added this.
288 * SqlByte.cs: Fixed checked parts