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