Closed dyatchenko closed 5 years ago
I think I'm OK with this in general, however I'm going to make a minor tweak to remove the bit where it then does an implicit sort by name - that is a breaking behavior change, where-as sorting by Ordinal
is fine if it doesn't change the order when that feature isn't used.
Thanks; merging, then tweaking a little.
Changes:
IDataReader
The ordinal attribute can be used as shown below:
IDataReader
object returned inObjectReader.Create()
will have columns order according to the defined attributes.-1
ordinal).