Public Function GetLazyValue(Of TC As {Class, New})( _ ByVal entity As T, _ ByVal propertyLambda As Expression(Of Func(Of T,TC)) _ ) As TC
Dim instance As BaseRepository(Of T) Dim entity As T Dim propertyLambda As Expression(Of Func(Of T,TC)) Dim value As TC value = instance.GetLazyValue(Of TC)(entity, propertyLambda)
public TC GetLazyValue<TC>( T entity, Expression<Func<T,TC>> propertyLambda ) where TC: class, new()
public: TC* GetLazyValue<TC>( T* entity, Expression<Func<T*,TC*>*>* propertyLambda ) where TC: ref class, gcnew()
public: TC^ GetLazyValuegeneric<typename TC> ( T^ entity, Expression<Func<T^,TC^>^>^ propertyLambda ) where TC: ref class, gcnew()
Parameters
- entity
- propertyLambda
Type Parameters
- TC