DataAccessAdapterCoreHandleValueReadErrors Method |
Routine which is meant to handle value read errors when GetValues is called on the passed in reader. This routine is only called when the
GetValues() method on the passed in reader throws an exception. Implementors of this routine thus have to call different methods to retrieve
the values for the current row. The data has to be read into the toFill array.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax protected virtual bool HandleValueReadErrors(
IDataReader openReader,
Object[] toFill,
Exception ex
)
Protected Overridable Function HandleValueReadErrors (
openReader As IDataReader,
toFill As Object(),
ex As Exception
) As Boolean
Parameters
- openReader
- Type: System.DataIDataReader
The open datareader, positioned at the current active row - toFill
- Type: SystemObject
array to fill with the current row's values - ex
- Type: SystemException
The exception thrown by GetValues(toFill)
Return Value
Type:
Boolean true if the values are succesfully read, false otherwise. By default this routine returns false. If false is returned, ex is bubbled upwards by
the caller.
See Also