public class DT
{
public const string status_time = "status_time";
}
public class DT_KLA :DT
{
public const string x17_yingji_shuru = "x17_yingji_shuru";
}
获取父类及子类的所有field值
List<string> status_nameList = new List<string>();
Type type = typeof(sysEtorRunstatus.DT_KLA);
foreach (var propertyInfo in ())
{
status_nameList.Add();
}
foreach (var propertyInfo in ())
{
status_nameList.Add();
}
return status_nameList.ToArray<string>();
refs:
/1175429393wljblog/p/