示例#1
0
 public static string GetName <TClass>(Expression <Func <TClass, object> > expression)
 {
     return(ExpressionUtilities.GetPropertyName(expression));
 }
示例#2
0
 public static string GetName <TProperty>(Expression <Func <TProperty> > expression)
 {
     return(ExpressionUtilities.GetPropertyName(expression));
 }