10.1 Summary
- ADO.NET is used to communicate with database management systems (equivalent to JDBC in Java).
- DAO stands for Data Access Object and is used to handle SQL statements correctly.
- Specific tasks are placed in their own classes:
- DbAccess is used for setting up and maintaining the connection between C# and the DBMS.
- Entity DAOs (e.g., PointDao, CircleDao) are entity-specific DAOs used to execute SQL statements relevant to that entity.
- AbstractDao is used for attributes and methods shared by the individual entity DAOs.
- These classes go in a
Data or Database folder.