Enterprise Library DataAccess 数据层
Constucts a new Dataaccess 小型网站之最爱
DataAccess ObjectStructure 数据存取对象结构
In our example, we have already identified a subsystem, the DataAccess object.
在我们的例子里,已经确定了一个子系统,DataAccess对象。
There is really a lot going on inside the DataAccess subsystem: generation of SQL statements, error handling, result set management, etc.
在DataAccess子系统内部实际上已经有了很多东西:SQL语句生成,错误处理,结果集管理,等等。
The RentalLocation has to obtain this existing information from our on-line Reservation RDBMS, and in Step 6 I have added a new design class, DataAccess, that implements the Façade pattern.
RentalLocation必须从在线的预约RDBMS获得这些已有信息,在第6步我加入一个新的设计类DataAccess,来实现Facade模式。
应用推荐