Mid GoF Patterns

Database Query Results:?

  • When querying a database, the results often come back in the form of a

collection (like a list of rows). The Iterator Pattern is used to iterate over

these rows to access the data, rather than exposing the internal structure of

how the data is retrieved from the database.

More from Design Patterns in C#

All questions for this course