Returning a Strongly Typed Collection

The difficulty in building good object-oriented systems based on relational databases is the orthogonality between a relational database and an object-oriented structure. Databases are generally made of tables with rows and columns, and relationships are inferred from key columns. The closest analogy between a single object and a database is the row. The problem is that databases tend toward normalization, resulting in many pieces of what might comprise a single object existing in more than one table. The bending and contorting between rows of normalized data to objects, back and forth, is what makes it difficult to build object-oriented systems on top of relational databases.

On the one hand, you have the ...

Get Visual Basic® .NET Power Coding now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.