Summary
After reading this chapter, you should understand the Fields collection object, as well as the Field object, and the following key points about the two:
The Fields collection object contains a collection of Field objects, which each represent a column in the data source.
There are many different datatypes for fields, all of which can be identified with the Type property. For many types, alternate properties such as Precision and NumericScale can be used to better explain the definition of the field.
The supported functionality of a given Field object can be obtained using the Attributes property.
The next chapter of this book, Chapter 7, explains how commands can be sent to the data source in order to execute SQL statements, stored procedures, and other data source-specific commands.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access