1

Closed

Alter GetReaderMethod to return null if reader has no rows

description

There's no point returning an open reader if there are no rows. Close it, return null. This will simplify the checks that need to be made in client code.
Closed Jun 15, 2012 at 11:18 PM by CoconutDev
SqlServerCe does not support this (due to HasRows property requiring a specific cursor type)

comments