ExpressionExtensions.CreateEFPropertyExpression(Expression, IPropertyBase, Boolean) Yöntem

Tanım

Verilen Expression ifadede EF özellik erişimini temsil eden bir 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şilen özellik.

makeNullable
Boolean

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

Döndürülenler

Expression

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

Şunlara uygulanır