Aracılığıyla paylaş


ExpressionExtensions.CreateEFPropertyExpression Yöntem

Tanım

Verilen ifadede EF özellik erişimini temsil eden bir Expression ağaç oluşturur.

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.Linq.Expressions.Expression CreateEFPropertyExpression (this System.Linq.Expressions.Expression target, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property, bool makeNullable = true);
static member CreateEFPropertyExpression : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase * bool -> System.Linq.Expressions.Expression
<Extension()>
Public Function CreateEFPropertyExpression (target As Expression, property As IPropertyBase, Optional makeNullable As Boolean = true) As Expression

Parametreler

target
Expression

Oluşturulan okuma işlemi için kök olacak ifade.

property
IPropertyBase

Erişecek özellik.

makeNullable
Boolean

Değerin null atanabilir olup olmadığını belirten bir değer.

Döndürülenler

Verilen ifadede EF özelliğine erişmek için bir ifade.

Şunlara uygulanır