我有一个类EmployeeModel
,我有如下性质太获取所有属性的属性,在C类#
[Column("FirstName")]
public string First { get; set; }
我需要使用实体来获得上述Column
属性的另一种方法。
我有一个类EmployeeModel
,我有如下性质太获取所有属性的属性,在C类#
[Column("FirstName")]
public string First { get; set; }
我需要使用实体来获得上述Column
属性的另一种方法。
typeof(EmployeeModel).GetProperty(”First”).GetCustomAttributes(...)
+1为能够得到这样的回答,指出问题。 :) – paqogomez
对不起,我得到了答案.... thnx ......只是再试一次.... :) thnk你这么多... –
你能否详细说明的问题 – Nilesh