2004-06-18 Sebastien Pouliot * SqlMoney.cs: Removed old "hack" to correct scale after rounding as Decimal has been fixed (in fact this code was moved and adapted for Decimal as it was better than the previous fix). 2004-06-08 Umadevi S * SqlGuid.cs - fixed bug 59420. Implemented CompareTo according to MSDN documenation 2004-05-27 Atsushi Enomoto * SqlDecimal.cs : don't output debug message to Console. 2004-05-18 Atsushi Enomoto * SqlDecimal.cs : Fixed operator/ not to return positive always. Halfly fixed ConvertToPrecScale() that was broken. 2004-05-18 Atsushi Enomoto * SqlDecimal.cs : - .ctor() should check the valid scale range and throw SqlTypeException. - Value should copy the last int32 value fragment. - Fixed Abs() and Ceiling() to return Null when the input is Null. - Now AdjustScale() should not depend on Truncate() that keeps zero digits correctly. So Round() before returning the final result. - ToString() should insert '-' for minus values. - operator+ should use larger scale of operands rather than smaller scale. 2004-05-18 Atsushi Enomoto * SqlDecimal.cs : Fixed Truncate() to work fine. * SqlMoney.cs : Added one hack line in operator/ to work fine. 2004-05-18 Atsushi Enomoto * SqlDecimal.cs : Fixed AdjustScale(). When reducing digits, scale parameter was incorrect. 2004-05-18 Atsushi Enomoto * SqlDecimal.cs : - .ctor(double) initializes the precision as 17. If not sufficient, it calls AdjustScale(), and if too much then it calls Round(). - Data should not return the internal array otherwise it might be modified by outer code. - Reimplemented AdjustScale() to work fine. - Reimplemented Parse(). It should rather use Decimal.Parse() rather than SqlDouble.Parse() for parsable value range difference. - Reimplemented Round(). Don't use double. - Fixed ToString() to return "Null" for null value. - Fixed explicit let operator to use double .ctor, not decimal .ctor() so that precision can be handled in the same way as double. 2004-05-17 Atsushi Enomoto * SqlBinary.cs, SqlDateTime.cs, SqlDouble.cs, SqlGuid.cs, SqlMoney.cs, SqlSingle.cs, SqlString.cs : If values are null, ToString() should return "Null". 2004-05-11 Atsushi Enomoto * SqlMoney.cs : Handle fixed digits correctly. Round decimal value before casting into other numeric types. * SqlInt16.cs, SqlInt32.cs, SqlInt64.cs : Round SqlMoney decimal value before casting into them. * SqlDateTime.cs : Added range check. Years and months were ignored in some .ctor(). Return invariant culture string in ToString(). Return null for operator - when operand is null. 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net) * SqlString.cs: change accessibility of CompareOptions property to private, commented out unreachable code 2004-04-12 Atsushi Enomoto * SqlBoolean.cs : Allow "0" and "1" on Parse(). Allow SqlString.Null in conversion. * SqlString.cs : CompareOption should not be None. 2004-04-01 Lluis Sanchez Gual * SqlNullValueException.cs: Use a more clarifying error message. 2003-12-19 Tim Coleman * SqlBytes.cs SqlChars.cs SqlDate.cs SqlStreamChars.cs SqlTime.cs * SqlUtcDateTime.cs SqlXmlReader.cs: New stubs added 2003-06-03 Ville Palo * SqlBinary.cs: Changed one SqlTypeException --> IndexOutOfRange * SqlMoney.cs: checkings 2003-06-02 Ville Palo * SqlString.cs: implementes less than and greater than operators. Added some checks to ctor. 2003-06-01 Ville Palo * SqlString.cs: added null checking 2003-05-28 Ville Palo * SqlMoney.cs: little fixes and clean ups 2003-05-28 Ville Palo * SqlInt16.cs: more checked fixes. * SqlInt64.cs: checked fixes. * SqlSingle.cs: checked fixes. 2003-05-28 Ville Palo * SqlInt16.cs: little fixes. 2003-05-28 Ville Palo * SqlDouble.cs: Some fixes. Mostly infinity checks * SqlSingle.cs: tiny fixes. * SqlInt64.cs: checked fix. 2003-05-28 Ville Palo * ChangeLog: Added this. * SqlByte.cs: Fixed checked parts