当前位置: 代码迷 >> ASP.NET >> :以上在VS2008中的网站代码是什么意思?给小弟我一个代码注释
  详细解决方案

:以上在VS2008中的网站代码是什么意思?给小弟我一个代码注释

热度:9864   发布时间:2013-02-25 00:00:00.0
求助:以下在VS2008中的网站代码是什么意思?给我一个代码注释
我不知道元数据是什么意思,大概说是该文件是元数据文件(因为有"[从元数据]"提示),并且该文件不在网站源代码中而是在C:\Documents and Settings\Administrator\Local Settings\Temp\2216$Model.dll$v2.0.50727\Model.T_CMS_Config.cs位置,代码如下:
C# code
using System;namespace Model{    [TableName("T_CMS_Config")]    public class T_CMS_Config    {        public T_CMS_Config();        public string Description { get; set; }        public bool? IsLink { get; set; }        public int? LastModificatorID { get; set; }        public string LastModificatorName { get; set; }        public DateTime? LastModifyTime { get; set; }        [PrimaryKey]        public string Name { get; set; }        public string Value { get; set; }    }}

另一个文件位于C:\Documents and Settings\Administrator\Local Settings\Temp\2216$BLL.dll$v2.0.50727\BLL.CMS.ConfigManage.cs位置,代码

如下:
C# code
using BLL;using Model;using System;namespace BLL.CMS{    public class ConfigManage : BaseBLL<T_CMS_Config>    {        public ConfigManage();        public string GetValue(string name);    }}

又是什么意思,为什么这两个文件不在网站目录中,而是在其它地方,说什么是元数据,不解恳求解答


------解决方案--------------------------------------------------------
就是通过反射获取的代码的外部接口,是VS自动产生的。
------解决方案--------------------------------------------------------
在某个方法上点转到定义,如果这个方法没有源代码,就会显示元数据。
  相关解决方案