To use the new BLL classes, all that needs to be changed is the first line of code simply replace the ProductsTableAdapter object with a ProductBLL object.
要使用新的BLL类,我们所需要做的仅仅是简单的修改一下第一行代码。
As illustrated in Figure 16, this object passes the necessary data to the BLL, which then requests the data Access Layer to save the data to MySQL database.
如图16所示,此对象将必要的数据传递给BLL,后者随后请求数据访问层将数据保存到MySQL数据库。
应用推荐