AdvantageCMS.Core.Admin.BaseClasses Namespace
AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

BusinessObjectBase..::..GetPropertyName Method

Overload List


  Name Description
Protected method Static member GetPropertyName<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T>)>>)>)>>))
Returns the name of the property referenced by a closure-style lambda — useful when you already have an instance in scope and want a refactor-safe property name string instead of a magic literal.
Public method Static member GetPropertyName<(Of <<'(TObject>)>>)(Expression<(Of <<'(Func<(Of <<'(TObject, Object>)>>)>)>>))
Returns the name of a property selected from TObject — useful when you don't have an instance handy but want a refactor-safe property name string. Works for both reference- and value-typed properties (boxing conversions are unwrapped automatically).