ExpressionExtensions.CreateKeyValuesExpression Yöntem

Tanım

Expression Verilen ifadedeki anahtar değerlerinin okunmasını 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 CreateKeyValuesExpression (this System.Linq.Expressions.Expression target, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties, bool makeNullable = false);
static member CreateKeyValuesExpression : System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> * bool -> System.Linq.Expressions.Expression
<Extension()>
Public Function CreateKeyValuesExpression (target As Expression, properties As IReadOnlyList(Of IProperty), Optional makeNullable As Boolean = false) As Expression

Parametreler

target
Expression

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

properties
IReadOnlyList<IProperty>

Anahtar değerleri oluşturmak için kullanılacak özelliklerin listesi.

makeNullable
Boolean

Anahtar değerlerinin null atanabilir olarak okunması gerekip gerekmediğini belirten bir değer.

Döndürülenler

Anahtar değerlerini okumak için bir ifade.

Şunlara uygulanır