To more cleanly separate the DAL- and BLL-related classes, let's create two subfolders in the App_Code folder, DAL and BLL.
为了更加清晰的区分DAL和BLL的类,我们在App_Code文件夹中建立两个子文件夹,分别命名为DAL和BLL。
Next, create the four BLL class files in the BLL subfolder.
然后,在BLL文件夹中创建4个类文件。
The example in this article consists of the Data Abstract Layer (DAL), Data Transfer Objects (DTOs), the Business Logic Layer (BLL), the Presentation Layer, and supporting helper classes.
本文中的示例包含数据抽象层(DAL)、数据传输对象(DTO)、业务逻辑层(BLL)、表示层和用于支持的helper类。
Therefore, manually putting the passed in values back into a DataRow helps ensure the validity of the data being passed to the BLL method.
因此,我们应该手工的验证一下传入的参数以保证传递给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数据库。
Flora: Bll right, in here, dear.
好的,就在这里,亲爱的。
Flora: Bll right, in here, dear.
好的,就在这里,亲爱的。
应用推荐