| Milos Overview |
Data Components
|
While Business Entities are the most common data access components a developer will interact with, they have no concept of how to talk to a database. Business Entities deal in exposed properties and methods, not SQL Commands. To communicate with a database, a Business Entity needs to be teamed up with a Business Object. No Business Entity can function without a Business Object. One could however use Business Objects on their own. While Business Objects could be used to update information, they are mostly used to retrieve lists of items stored in data sets.
A third type of object, the Data Access Layer, abstracts the details of a specific database back end from the Business Object. This allows the Business Object to ask the back end for a list of line items for an invoice and not care if the names come from Sql Server, MySql or an Excel spreadsheet!