我想从ExpandoObject
填充PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(obj.GetType());
int propsCount = properties.Count;
,如下所示:
propsCount
但即使动态对象具有值,我总是在PropertyInfo
中得到0。
如果知道我需要知道ExpandoObject
中每个属性的SELECT --MAX('Percentagem (%)') 'Percentagem (%)' will be treated as a string. use [] to enclose the calculated column name
MAX([Percentagem (%)]),MIN([Percentagem (%)])
FROM infofile
,我该如何解决这个问题。
谢谢。