接口和反射在模型库系统中的应用 |
| |
引用本文: | 麦雄发,;李玲,;胡宝清.接口和反射在模型库系统中的应用[J].广西师院学报,2008(1):89-91. |
| |
作者姓名: | 麦雄发 ;李玲 ;胡宝清 |
| |
作者单位: | [1]广西师范学院数学与计算机科学系,广西南宁530001; [2]广西师范学院继续教育学院,广西南宁530001; [3]广西师范学院资源与环境科学学院,广西南宁530001 |
| |
基金项目: | 国家自然基金(40661005) |
| |
摘 要: | 反射是.NET中的重要机制.通过反射,可以在运行时获得.NET中每一类型的成员,并可创建相应类型的实例和执行其方法.而接口可以描述不同对象的统一行为.该文研究利用接口和反射原理,简化模型库系统中模型的管理和运行工作.
|
关 键 词: | 反射 接口 模型库 |
Interface and Reflection in the Application of Model Database |
| |
Institution: | MAI Xiong-fa, LI Ling, HU Bao-qing (Guangxi Teachers Education University, a. Department of Mathematics and Computer Science; b. College of Continuing Education; c. College of Resources and Environmental Science Nanning 530001, China) |
| |
Abstract: | Reflection is an important mechanism of. NET. While running a program, we can obtain all members of every type of . NET, create the instance of the corresponding type and execute its methods by using reflection. And using interface, we can describe the same behaviors of different objects. This paper stows how to simplify the manager and working of model database system by using reflection and interface. |
| |
Keywords: | Reflection Interface Model Database |
本文献已被 维普 等数据库收录! |
|