1 2010-07-06 Veerapuram Varadhan <vvaradhan@novell.com>
3 * TdsMetaParameter.cs (Prepare): Use the count of characters in nvarchar
4 param as the size, to match .NET implementation.
6 2010-07-03 Veerapuram Varadhan <vvaradhan@novell.com>
9 * TdsMetaParameter.cs (Prepare): Use GetActualSize() instead of Size
10 property to calculate the length of a nvarchar param.
12 2009-05-26 Veerapuram Varadhan <vvaradhan@novell.com>
14 * TdsComm.cs (Append): When appending strings of length bigger than
15 output buffer, calculate and iterate over the strings according to
16 the output buffer length. Fixes ArgumentOutOfRangeException.
18 2009-05-26 Veerapuram Varadhan <vvaradhan@novell.com>
20 * TdsBulkCopy.cs (WriteParameterInfo): Update default precision from 28 to 29.
22 2009-05-26 Veerapuram Varadhan <vvaradhan@novell.com>
24 * TdsComm.cs (Append): When appending smalldatetime values, cast value of
25 days to short instead of ushort. Fixes Tds error in RPC packet.
27 * Tds70.cs (WriteParameterInfo): Instead of IsLargetType, compare only
28 the types that can take 0xFFFF as size if value is null.
30 2009-05-26 Veerapuram Varadhan <vvaradhan@novell.com>
32 * TdsMetaParameter.cs (GetMetaType): If param is Nullable, use IntN instead
33 of BigInt for column type.
35 2009-05-16 Veerapuram Varadhan <vvaradhan@novell.com>
37 * TdsMetaParameter.cs (Prepare): Default precision is 29 and not 28.
39 2009-05-12 Veerapuram Varadhan <vvaradhan@novell.com>
41 ** Fixes rest of #497715 - Patch by Jonas Larsson <Jonas.Larsson@manodo.se>
42 * TdsMetaParameter.cs: Add support for XML type. For now, handle
43 XML type as just NVarchar.
45 2009-03-23 Veerapuram Varadhan <vvaradhan@novell.com>
47 * TdsMetaParameter.cs (GetMetaType): Return TdsColumnType.BigInt
48 instead of TdsColumnType.IntN.
50 2009-03-14 Veerapuram Varadhan <vvaradhan@novell.com>
52 * TdsMetaParameter.cs (ResizeValue): Return unmodified value
55 2009-01-17 Gert Driesen <drieseng@users.sourceforge.net>
57 * TdsMetaParameter.cs: Modified signature of delegate to also allow
58 conversion to be triggered by changes in TdsMetaParameter.
60 2009-01-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
62 * TdsMetaParameter.cs: set_RawValue now calls set_Value so that
65 2009-01-04 Gert Driesen <drieseng@users.sourceforge.net>
67 * TdsMetaParameter.cs: Define delegate for performing conversion for
68 retrieving value as framework type from SqlParameter. Store both raw
69 value as converted/resized value to allow us to perform lazy
70 conversion. Only resize value if value or size were updated. Avoid
71 double casting in ResizeValue.
73 2008-05-29 Veerapuram Varadhan <vvaradhan@novell.com>
75 * TdsMetaParameter.cs (set_Value): Truncate the value to the
76 specified size. Fixes bug #382635.
78 2007-07-24 Nagappan A <anagappan@novell.com>
80 * TdsMetaParameter.cs (Prepare): Fixes Large strings truncated
81 with SqlClient - Bug # 82170.
83 2007-05-30 Nagappan A <anagappan@novell.com>
85 * TdsMetaParameter.cs (GetActualSize): Multiply length by 2, if
86 the data type is nvarchar, nchar or ntext.
87 (GetSize): Added new case for decimal, uniqueidentifier,
88 smallmoney, bit, nchar, ntext.
89 (GetBytes): Implemented new internal method to encode the data.
90 (GetMetaType): Modified the return values appropriately.
92 2007-03-21 Nagappan A <anagappan@novell.com>
94 * TdsMetaParameter.cs (Prepare): Include @ before parameter name,
97 2007-03-16 Andreia Gaita <avidigal@novell.com>
99 * TdsMetaParameter.cs: Add Validate() method. For now, validate
100 size/value. Add isVariableSizeType.
102 2006-01-05 Senganal T <tsenganal@novell.com>
104 * TdsMetaParameter.cs: Test for DbNull when updating the scale
105 of decimal or numeric value. Fixes #77410
107 Patch By Sebastien Robitaille <sebastien.robitaille@croesus.com>
109 2005-10-20 Senganal T <tsenganal@novell.com>
111 * TdsMetaParameter.cs: Set default values of Precision
112 and Scale for Decimal Parameters when not explicitly set.
115 2005-08-02 Joerg Rosenkranz <joergr@voelcker.com>
117 * TdsMetaParameter.cs: Send binary parameters with size > 8000
118 as image instead of varbinary. This fixes #75684.
120 2005-05-27 Sureshkumar T <tsureshkumar@novell.com>
122 * TdsMetaParameter.cs: Prepare: in SQL, a variable declaration
123 with size 0 is not allowed. fixes #62978.