ExpressionExtensions.CreateValueBufferReadValueExpression Methode

Definition

Erstellt eine Expression Struktur, die das Lesen eines Werts aus einem darstellt ValueBuffer

Diese Methode wird in der Regel von Datenbankanbietern (und anderen Erweiterungen) verwendet. Es wird im Allgemeinen nicht im Anwendungscode verwendet.

public static System.Linq.Expressions.Expression CreateValueBufferReadValueExpression (this System.Linq.Expressions.Expression valueBuffer, Type type, int index, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property);
public static System.Linq.Expressions.Expression CreateValueBufferReadValueExpression (this System.Linq.Expressions.Expression valueBuffer, Type type, int index, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase? property);
static member CreateValueBufferReadValueExpression : System.Linq.Expressions.Expression * Type * int * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> System.Linq.Expressions.Expression
<Extension()>
Public Function CreateValueBufferReadValueExpression (valueBuffer As Expression, type As Type, index As Integer, property As IPropertyBase) As Expression

Parameter

valueBuffer
Expression

Der Ausdruck, der das ValueBufferverfügbar macht.

type
Type

Der zu lesende Typ.

index
Int32

Der Index im Puffer, aus dem gelesen werden soll.

property
IPropertyBase

Die IPropertyBase, die gelesen wird, falls vorhanden.

Gibt zurück

Ein Ausdruck zum Lesen des Werts.

Gilt für: