BusinessObject<(Of <(<'T>)>)>..::..GetPropertyName<(Of <(<'P, L>)>)> Method
Returns the string property name of the property referenced.
This helps in ensuring that index property names are spelled correctly, and helps catch errors if property name is changed
Namespace:
AdvantageCMS.Core.Admin.BaseClassesC#
AddSearchableProperty(GetPropertyName(() => this.someProperty), this.someProperty);
Assembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
public static string GetPropertyName<P, L>( Expression<Func<P, L>> expression )
Type Parameters
- P
- L
Parameters
- expression
- Type: Expression<(Of <(<'Func<(Of <(<'P, L>)>)>>)>)>
Property