Note: To
use the methods of the Session object, you must already know the definition
of the record. You can use methods of the
Session object to have a
query find records that match criteria you define, and then work with the
records in the query's result set. To learn how to use the API for queries,
see
Working with queries.