Chap 5 - CommandType.Text vs. TableDirect
In Chapter 5, starting with the "Try It Out" starting on p. 82, what is the point of the setting of the CommandType? In the last paragraph of text on p. 86, it says that CommandType.Text is the default.
The example code is the same after the setting of CommandType.Text vs. setting CommandType.TableDirect. Running the program returns the same results.
Is there a difference? Or is this one of those things whose significance will be made clear later?
(I've since found more on this in Chapter 6 - p. 113. Maybe introducing it in Chapter 5 was was premature and unnecessarily confusing?)
Thanks!
|