| Description |
Changes in build 5.0.7.2
- Fixed a problem in AdoRecordSet:FieldPut() and AdoRecordSet:Collect for writing NULL to a table where the new value is a NULL_STRING
Changes in build 5.0.7.1
- Fixed a problem in AdoServer:FieldPut() writing NULL to server columns where the new value is a NULL_STRING
Changes in build 5.0.7
- Added support for the Vo2Ado functions AdoConvertNullStringToNull() and AdoCheckNullString()
- Improved enumeration of Collections. You can now use FOREACH oParameter as AdoParameter in oCmd:Parameters.
- All collections now expose a GetEnumerator() method that returns a System.Collections.IEnumerator object. Objects in the collections are collected in a List<T> first and then the enumerator operates on this list.
- This also means that when the underlying collection changes, you will have no problems
- The collection class inside Xs2Ado now have a _NewItem() and _GetItem() method that is overridden in the subclass. Retrieving objects from a collection should be a little bit faster now.
- Collection classes already has an AsArray() method that returned the elements in a VO compatible array. There is now also a ToArray() method that returns the elements in a .Net array.
- For example the AdoFields class already had a METHOD AsArray as ARRAY but there is now also a METHOD ToArray as AdoField[]
- Some methods did not have a default value for parameters that were optional in VO. This has been fixed
- Added some UDCs for Boilerplate code, to simplify the code of several properties
- Classes that expose an enum value in a property, such as AdoRecordSet:LockType and AdoRecordSet:CursorType now have an extra property that has the same name but with an "_" prefix which returns the real enum value. So next to the property PROPERTY LockType AS LONG that already existed there is now also PROPERTY _LockType as Xs2Ado.Ado.LockTypeEnum
- We have added DebuggerDisplay attribute attributes on several of the Xs2Ado classes, to make debugging a bit easier. For objects with a name, the name is displayed.
|