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