What to return from the DAL to BLL

前端 未结 7 2016
不思量自难忘°
不思量自难忘° 2021-02-02 01:48

I currently have an application which consists of: User Interface (web page) BLL (Manager & Domain Objects) DAL (DataAccess class for each of my Domain Objects).

I u

7条回答
  •  执笔经年
    2021-02-02 02:28

    The DataTable you want to return is database related, and for BLL, it shouldn't care about what database you are using and what the schema is. You may use a DB-Object Mapper to map the dbtable to an object in DAL.

提交回复
热议问题