摘要
DAL是以ORM为理论基础,在业务逻辑层和企业信息系统层之间进行数据类型相互转换和数据操作的一个单独模块。通过分析和研究ORM理论,并结合项目实际需求,提出了一种DAL设计方案。该方案采用类反射机制,实现了数据对象与表、存储过程的相互映射过程,并在开发过程中解决了一些具体问题,目前在应用系统中得到了很好的应用。
On the basis of the ORM theory, DAL can realize the data type conversion and operation between the business logical layer and the enterprise message layer. One design of DAL is produced through analyzing and studying the ORM theory, according to real requirements in specific project. This design not only adopts class reflection, thus realizing the mapping among data object, table, and stored procedure, but also gives successful solutions to some specific problems. At present, DAL is functioning well.
出处
《茂名学院学报》
2008年第4期53-56,共4页
Journal of Maoming College
关键词
数据访问层
对象关系映射
类反射
database access layer
object relational mapping
class reflection