RingSoft.DbLookup Namespace
RingSoft.DbLookup.Controls.WPF.Properties Namespace
RingSoft.DbMaintenance Namespace

ExtensionMethods..::..GetFullPropertyName<(Of <(<'T, TProperty>)>)> Method

Gets the full name of the property. (u => u.UserId returns "UserId")

Namespace:  RingSoft.DbLookup
Assembly:  RingSoft.DbLookup (in RingSoft.DbLookup.dll)

Syntax


public static string GetFullPropertyName<T, TProperty>(
	this Expression<Func<T, TProperty>> exp
)
<ExtensionAttribute> _
Public Shared Function GetFullPropertyName(Of T, TProperty) ( _
	exp As Expression(Of Func(Of T, TProperty)) _
) As String
[ExtensionAttribute]
public:
generic<typename T, typename TProperty>
static String^ GetFullPropertyName(
	Expression<Func<T, TProperty>^>^ exp
)

Type Parameters

T
The first parameter of the Func.
TProperty
The type of the property.

Parameters

exp
Type: Expression<(Of <(<'Func<(Of <(<'T, TProperty>)>)>>)>)>
The expression.

Return Value

The full name of the property.