ExpressionExtensions.GetPropertyAccessList(LambdaExpression) Yöntem

Tanım

Verilen basit PropertyInfo 'den ayıklanan listesini LambdaExpression döndürür.

Bir özelle ilgili başvuru için kullanılanlar gibi yalnızca basit ifadeler de kullanılabilir.

Bu yöntem genellikle veritabanı sağlayıcıları (ve diğer uzantılar) tarafından kullanılır. Genellikle uygulama kodunda kullanılmaz.

public static System.Collections.Generic.IReadOnlyList<System.Reflection.PropertyInfo> GetPropertyAccessList (this System.Linq.Expressions.LambdaExpression propertyAccessExpression);
static member GetPropertyAccessList : System.Linq.Expressions.LambdaExpression -> System.Collections.Generic.IReadOnlyList<System.Reflection.PropertyInfo>
<Extension()>
Public Function GetPropertyAccessList (propertyAccessExpression As LambdaExpression) As IReadOnlyList(Of PropertyInfo)

Parametreler

propertyAccessExpression
LambdaExpression

İfade.

Döndürülenler

IReadOnlyList<PropertyInfo>

Başvurulan özelliklerin listesi.

Şunlara uygulanır