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
expression
Expression<Func<T, object>>The expression representing the property.
Returns
- string
The name of the property.
Type Parameters
T
The type of the object containing the property.