编程论坛's Archiver

夜狼 发表于 2008-4-30 12:50

asp.net中的〔从元数据〕

我晕,我狂晕。
我在ExamBLL逻辑层CourseManager类下写了一个方法GetDepartmentById(int id)。
在表示层调 用的时候CourseManager.GetDepartmentById(id)的时候。
说是(从元数据)中没有定义。
打开一看的确没有这个方法的定义。
这是怎么回事啊1!!!!

hxfly 发表于 2008-5-1 02:40

定义成保护类型或者公共类型,不要定义成私有

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.