专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > DotNet Exception

The type or namespace name Relation could not be found(are you missing a using directive or an assem

发布时间:2011-06-26 20:24:00 文章来源:www.iduyao.cn 采编人员:星星草

问题如下:

我先申明一个List <Relation> ,然后把他作为参数调用

List <Relation> relations = new List <Relation> ();
GetNameBydependence(relations);

然后把他作为参数调用GetNameBydependence方法,但在此方法中报错,(报错信息:The type or namespace name Relation could not be found(are you missing a using directive or an assembly reference?))

private static void GetNameBydependence(List <Relation> relations)
{
......
}

能否帮我解惑啊?
------解决方法--------------------------------------------------------
你要using Relation所在的命名安间
------解决方法--------------------------------------------------------
using Relation
------解决方法--------------------------------------------------------
引入Relation空间!

    
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: