检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:熊伟[1] 欧阳逸 张凌云 XIONG Wei;OUYANG Yi;ZHANG Ling-yun(School of Computer Science and Cyber Engineering, Guangzhou University, Guangzhou 510006, China)
机构地区:[1]广州大学计算机科学与网络工程学院
出 处:《广州大学学报(自然科学版)》2019年第3期93-95,共3页Journal of Guangzhou University:Natural Science Edition
基 金:大学生创新创业训练计划资助项目(201711078090)
摘 要:使用ORM框架访问数据库效率较低,对执行效率有要求的项目一般采用纯手工编写数据库访问代码,但纯手工编写重复的数据库访问代码需要耗费大量时间.文章提出一种数据库访问代码自动生成方法,指出了自动生成代码需要解决的三个关键问题,并以SQLServer数据库为例,描述了生成C#代码的过程.使用数据库访问代码自动生成方法,生成的代码规范、易于维护,节省了程序员编码时间,提高了开发效率.Accessing the database using ORM framework is inefficient. Projects that require performance efficiency generally use hand-written database access code, but it takes a lot of time to manually write duplicate database access code. This paper proposes a database access code generation method, pointing out three key problems that need to be solved in this code generation method, and takes SQL Server database as an example to describe the process of generating C# code. Code generated by this database access code generation method is regular, easy to maintain, and it saves programmers coding time and improves development efficiency.
分 类 号:TP392[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222