Stefano Ravagni wrote:
>
> In addiction..what change in backward compatybilities ? I think nothing...
> Who use datareader with "while .read do ...." continue to use in same
> way....but many others developer, who use HasRows for check if
> datareader has or had records will be gratified to this new
> capacity...don't think ??
>
I have figured out a backwards compatible way to enable this behavioral
change.
It involves modifying the connection string used when creating the
associated connection by modifying [or adding] the Flags connection
string property to include the StickyHasRows value, e.g.:
"Data Source=:memory:;Flags=StickyHasRows;"
Currently, these changes can be seen on the stickyHasRows branch, here:
https://system.data.sqlite.org/index.html/timeline?r=stickyHasRows
Would this satify your requirements?
--
Joe Mistachkin
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users