Method GetPropertyName
- Namespace
 - Innova.Data.Entity.Localization
 
- Assembly
 - Innova.Data.dll
 
GetPropertyName<T>(Expression<Func<T, object>>)
Gets the name of the property specified by the expression.
public static string GetPropertyName<T>(Expression<Func<T, object>> expression)
Parameters
expressionExpression<Func<T, object>>The expression representing the property.
Returns
- string
 The name of the property.
Type Parameters
TThe type of the object containing the property.